Some useful probability distributions
In practice in statistics we often use a set of well-known distributions. These have specific mathematical forms that come with parameters to make them flexibly useful.
Here are some of the most useful and commonly-used ones:
| Name | Expression and R function | Parameters | Explanation |
|---|---|---|---|
| Binomial | dbinom() in R) | Number of 'trials' 'Success probability' | How many 'successes' from trials? E.g. 'alternate' alleles in a sample of chromosomes? |
| Beta | dbeta() in R) | 'Shape' parameters and | Modelling proportions or frequencies E.g. allele frequencies or cell proportions |
| Poisson | dnorm() in R) | Mean or rate parameter | How often a (rare) event occurs in a given time interval |
| Normal or Gaussian | dnorm() in R) | Mean Variance | Ubiquitously useful as we'll see later |
If you don't understand the maths above, don't worry. You can understand these distributions by plotting what they look like as we'll do below.
Many of these mathematical expressions have complicated-looking bit at the front that doesn't depend on . For example - the normal distribution has this bit:
while the beta distribution has this bit:
(here is the 'beta function').
This bits can look complicated but the don't depend on . In fact, they are just normalising constants: their purpose is to ensure the distribution sums to over all the possible values of .
Question. The expression in front of the binomial isn't a normalising constant in the same way - why not?
Distributions challenge
Go and explore some distributions now - and figure out how to answer these questions:
Where would I find 95% of the mass of a normal distribution with mean 10 and variance 20?
Suppose I sample 100 chromosomes from a population, to examine a variant of interest that is at 1% frequency. What's the chance I will detect at least one chromosome with the allele? (Hint this is a job for the binomial distribution).
Can you generate a beta distribution that looks like a one-sided smile? (High one one side, low on the other.)