Probability distributions explained
Every p-value, confidence interval and statistical model rests on a probability distribution. You don’t need the formulas to use them well, but you do need to know what each one describes and when it shows up.
What a probability distribution is
A random variable is a quantity whose value depends on chance: the number of heads in 10 coin flips, or the height of a randomly chosen adult. Its probability distribution lists every possible value with its probability, or for continuous variables, gives a curve whose area over any range is the probability of landing in that range.
Discrete vs continuous
- Discrete: countable values (0, 1, 2…). Each value has its own probability, and the probabilities add to 1. For example, the number of patients who recover out of 20.
- Continuous: any value in a range. The probability of one exact value is zero, so we talk about ranges, such as the probability someone is between 170 and 180 cm tall. The total area under the curve is 1.
Distributions that describe data
Normal distribution
The symmetric bell curve, defined by its mean and standard deviation. It approximates many measurements and, crucially, the behaviour of sample means. See the normal distribution.
Binomial distribution
The number of “successes” in a fixed number of independent yes/no trials with the same probability, such as how many of 20 patients respond to a treatment that works 60% of the time. It underlies the binomial test and logistic regression.
Poisson distribution
Counts of events in a fixed interval when events happen independently at a constant average rate: calls per hour, accidents per month, typos per page. Its mean equals its variance. When real counts vary more than that (overdispersion), the negative binomial distribution is used instead. These underlie count regression models.
Distributions of test statistics
These describe how a test statistic behaves when the null hypothesis is true. They’re where p-values come from.
| Distribution | Used for | Shape depends on |
|---|---|---|
| t | t-tests, regression coefficients, confidence intervals for means | Degrees of freedom |
| Chi-square (χ²) | Chi-square tests, likelihood-ratio tests | Degrees of freedom |
| F | ANOVA, overall regression test, comparing variances | Two degrees of freedom (numerator and denominator) |
| Standard normal (z) | Large-sample tests, proportions, many rank-test approximations | Fixed (mean 0, SD 1) |
For example, a t-test calculates t from your data, then asks how far into the tail of the t-distribution (with the right degrees of freedom) that value falls. The tail area is the p-value.
Matching the outcome to a distribution
| Outcome | Typical distribution | Model |
|---|---|---|
| Continuous measurement | Normal (for the residuals) | Linear regression, t-tests, ANOVA |
| Yes/no | Binomial | Logistic regression |
| Counts | Poisson or negative binomial | Poisson or negative binomial regression |
This is why the outcome’s type matters so much in regression analysis: each model assumes a distribution for the outcome, and a mismatch gives misleading standard errors and p-values.
The distribution of a statistic
One more idea ties everything together. A statistic such as a sample mean also has a distribution: the values it would take across many repeated samples. That’s the sampling distribution, and the central limit theorem says it tends towards a normal shape as samples grow.
More in Probability distributions
Run this on your own data
Upload a dataset and ask your question in plain English. Analytika checks the assumptions, picks the test, runs it, and writes the results up in APA format.