Chapter 6 of 22 Statistics guide · Part 1: The basics

Probability Distributions: Normal, Binomial, Poisson, t and F Explained

Every statistical test assumes the data, or the statistic, follow some probability distribution. This chapter explains probability in plain terms, then the distributions you meet in plant and animal trials: normal for weights and yields, binomial for yes/no outcomes, Poisson for counts, and the t, chi-square and F distributions behind the tests. It ends with z scores, transformations and checking normality.

  • Plant and animal examples
  • Worked by hand and in R
  • Sources cited
  • Free tools to try it

Quick answers

What is a probability distribution?
A rule that gives the probability of each possible value (for counts) or of each range of values (for measurements). The probabilities are between 0 and 1 and add up to 1.
What is the normal distribution?
The symmetric bell curve described by a mean μ and a standard deviation σ. About 68% of values fall within 1 SD of the mean, 95% within 2 (1.96) and 99.7% within 3.
What is a z score?
How many standard deviations a value is from the mean: z = (x − mean) / SD. A pig gaining 1.06 kg/day when the mean is 0.872 and SD 0.096 has z = 1.95.
What is the difference between binomial and Poisson distributions?
Binomial counts successes out of a fixed number of trials (7 of 10 seeds emerged). Poisson counts events with no fixed upper limit (days with scours, weeds per quadrat).
Which distribution fits my data?
Measurements such as weight or yield: normal. Yes/no or x out of n: binomial. Unbounded counts: Poisson or, if more variable, negative binomial.
Why transform data?
To make skewed data more symmetric or variances more equal for ANOVA: log for right-skewed values, square root for counts. Today, models for the right distribution (GLMs) are often better.
On this page
  1. Quick answers
  2. Probability in a few lines
  3. The normal distribution
  4. The binomial distribution: yes/no outcomes
  5. The Poisson distribution: counts
  6. The t, chi-square and F distributions
  7. Transformations
  8. Checking normality
  9. Key takeaways
  10. Questions people ask
  11. Sources

Probability in a few lines

A probability is a number from 0 (impossible) to 1 (certain). If 30% of pigs on a farm get scours, the probability that a randomly chosen pig gets scours is 0.30. Two rules carry most of the weight:

  • Addition: for outcomes that cannot happen together, add their probabilities. P(score 4 or 5) = P(4) + P(5).
  • Multiplication: for independent events, multiply. The chance that two unrelated pigs both get scours is 0.30 × 0.30 = 0.09.

A random variable is a measurement whose value depends on chance, such as a pig's daily gain. Discrete random variables take separate values (counts) and have a probability for each value. Continuous random variables (weights, yields) take any value in a range, and probabilities are areas under a density curve.

The normal distribution

Weights, yields, heights and many other traits are shaped by many small genetic and environmental effects added together, so their distribution is close to the symmetric bell curve called the normal (Gaussian) distribution. It is fixed by two parameters, written N(μ, σ²).

  • Mean, median and mode are equal; the curve is symmetric about them.
  • 68% of values lie within μ ± σ, 95% within μ ± 1.96σ, and 99.7% within μ ± 3σ.

The standard normal distribution is the normal with mean 0 and SD 1. Any normal value converts to it with a z score:

z = (x − μ) / σ

The binomial distribution: yes/no outcomes

A binomial variable counts successes in n independent trials that each succeed with the same probability p. Pregnancy, survival and seed emergence are typical.

P(X = k) = C(n, k) × pᵏ × (1 − p)ⁿ⁻ᵏ; mean = np; variance = np(1 − p)

The variance depends on the mean (largest at p = 0.5), so percentages violate the equal-variance assumption of ANOVA. The binomial special case with n = 1 is the Bernoulli distribution. Analyze binomial data with logistic regression.

The Poisson distribution: counts

The Poisson distribution describes counts of events in a fixed time or space when events occur independently: weeds per quadrat, insects per trap, days with scours. Its single parameter λ is both the mean and the variance.

P(X = k) = e^(−λ) λᵏ / k!; mean = variance = λ

Counts are skewed to the right at low means and their variance grows with the mean, so raw counts rarely meet ANOVA assumptions. For large λ (above about 20), the Poisson is close to normal.

The t, chi-square and F distributions

These distributions describe test statistics rather than raw data. You meet them in every table of results.

DistributionWhere it appearsShape
tt-tests, confidence intervals, regression coefficientsBell-shaped like z, with heavier tails when degrees of freedom are few
Chi-square (χ²)Tests of counts and proportions, likelihood ratio tests, variancesRight-skewed, only positive
FANOVA and regression: a ratio of two variances (mean squares)Right-skewed, two degrees of freedom

The t distribution approaches the standard normal as degrees of freedom grow. Its two-sided 5% critical values show the effect of small samples:

Degrees of freedom51020∞ (normal)
Critical t2.5712.2282.0861.960

With only 5 degrees of freedom, a confidence interval must be 31% wider than with an unlimited sample. That is one cost of few replicates.

Transformations

A transformation applies the same function to every value to make residuals more normal or variances more equal:

DataTransformationExample
Right-skewed, variance grows with the meanlog(y), or log(y + 1) with zerosSomatic cell count, fecal egg count, biomass
Counts√y or √(y + 0.5)Weeds per quadrat
Proportionsarcsine √pPercent germination, percent infection
  • Test and report on the transformed scale, but present means back-transformed (for logs, this gives the geometric mean, not the arithmetic mean).
  • Transformations change the question slightly: on the log scale, treatment effects are ratios rather than differences.
  • For counts and proportions, a generalized linear model models the data on their own scale and is now usually preferred.

Checking normality

ANOVA and regression assume that the residuals, not the raw data, are roughly normal. Check them with a Q-Q plot (points close to a straight line) and, if you like, a Shapiro-Wilk test.

With small samples the test has little power, and with very large ones it flags trivial departures, so look at the plot as well. The Normality Test does both, by group or on residuals, and suggests what to do if the data are not normal.

In R

pnorm(1.0, mean = 0.872, sd = 0.096, lower.tail = FALSE)  # P(ADG > 1.0)
dbinom(0, size = 6, prob = 0.3)          # P(no pig with scours)
1 - ppois(4, lambda = 2)                 # P(5 or more scour days)
qt(0.975, df = c(5, 10, 20))             # critical t values
shapiro.test(residuals(lm(adg ~ diet, data = dat)))

In SAS

data probs;
  p_adg  = 1 - cdf("normal", 1.0, 0.872, 0.096);
  p_none = pdf("binomial", 0, 0.3, 6);
  p_5up  = 1 - cdf("poisson", 4, 2);
  t5 = quantile("t", 0.975, 5);
run;
proc glm data=pigs;
  class diet;
  model adg = diet;
  output out=res r=resid;
run;
proc univariate data=res normal;
  var resid;
  qqplot resid / normal(mu=est sigma=est);
run;

Key takeaways

  • Probabilities run from 0 to 1; discrete variables have a probability per value, continuous ones an area under a curve.
  • Measurements are often normal; 95% of values lie within 1.96 SD of the mean; z scores standardize values.
  • Yes/no outcomes are binomial and counts are Poisson; their variance depends on the mean.
  • Test statistics follow t, chi-square and F distributions; few degrees of freedom mean wider intervals.
  • Check normality on residuals; consider transformations or, better, a GLM for counts and proportions.

Questions people ask

Do my raw data need to be normal for ANOVA?

No. The assumption is about the residuals within groups. Pooled raw data from treatments with different means can look bimodal even when the residuals are perfectly normal.

When can I use the normal approximation to the binomial?

When np and n(1 − p) are both at least 5 to 10. With 100 seeds and 86% emergence that holds easily; with 6 pigs it does not.

What is overdispersion?

Variance larger than the distribution allows, most often in counts and proportions. It makes Poisson and binomial tests too optimistic; use negative binomial, beta-binomial or a quasi model.

What does a z score of 2 mean?

The value is 2 standard deviations above the mean. On a normal curve, only about 2.3% of values are higher.

Sources

  • Kaps, M., and Lamberson, W. R. (2017). Biostatistics for Animal Science (3rd ed.), chapters on probability and random variables. CABI.
  • Stroup, W. W. (2015). Rethinking the analysis of non-normal data in plant and soil science. Agronomy Journal, 107(2), 811–827.
  • Shapiro, S. S., and Wilk, M. B. (1965). An analysis of variance test for normality. Biometrika, 52, 591–611.