Sign in to save

Bookmark this page so you can find it later.

Sign in to save

Bookmark this page so you can find it later.

Bayesian and frequentist statistics are two major ways to use data to make conclusions under uncertainty. This cheat sheet compares how each approach treats probability, parameters, evidence, and conclusions. Students need it because the same data can lead to different wording and reasoning depending on the statistical framework.

Understanding the comparison helps students interpret studies, experiments, polls, and statistical claims more carefully.

Frequentist methods treat parameters as fixed but unknown values and use repeated sampling to describe uncertainty. Bayesian methods treat parameters as uncertain and update beliefs using Bayes' theorem, P(AB)=P(BA)P(A)P(B)P(A\mid B)=\frac{P(B\mid A)P(A)}{P(B)}. Key comparisons include confidence intervals versus credible intervals, pp-values versus posterior probabilities, and likelihood-based evidence versus prior-updated evidence.

Both approaches use data, models, and assumptions, but they answer different statistical questions.

Key Facts

  • Bayes' theorem is P(HD)=P(DH)P(H)P(D)P(H\mid D)=\frac{P(D\mid H)P(H)}{P(D)}, where HH is a hypothesis and DD is the observed data.
  • In frequentist statistics, an unknown parameter such as θ\theta is fixed, and uncertainty comes from the random sample.
  • In Bayesian statistics, an unknown parameter such as θ\theta is treated as uncertain, and a probability distribution describes beliefs about its possible values.
  • A frequentist confidence interval has the form θ^±zSE\hat{\theta}\pm z^{\ast}\cdot SE, where θ^\hat{\theta} is an estimate and SESE is its standard error.
  • A Bayesian posterior distribution is proportional to likelihood times prior, written as P(θD)P(Dθ)P(θ)P(\theta\mid D)\propto P(D\mid \theta)P(\theta).
  • A 95%95\% confidence interval means that, over many repeated samples, about 95%95\% of intervals made by the same method would contain the true parameter.
  • A 95%95\% credible interval means that, given the model, data, and prior, there is posterior probability 0.950.95 that θ\theta lies in the interval.
  • A frequentist pp-value is P(data at least as extreme as observedH0)P(\text{data at least as extreme as observed}\mid H_0), not the probability that H0H_0 is true.

Vocabulary

Prior distribution
A probability distribution, written P(θ)P(\theta), that represents beliefs about a parameter before observing the current data.
Likelihood
The likelihood, written P(Dθ)P(D\mid \theta), measures how compatible the observed data DD are with different parameter values θ\theta.
Posterior distribution
The posterior distribution, written P(θD)P(\theta\mid D), combines the prior and likelihood to describe updated beliefs after seeing the data.
Confidence interval
A confidence interval is a frequentist interval estimate built by a method that captures the true parameter in a stated proportion of repeated samples.
Credible interval
A credible interval is a Bayesian interval that contains a stated amount of posterior probability for a parameter.
P-value
A pp-value is the probability, assuming H0H_0 is true, of getting results at least as extreme as the observed results.

Common Mistakes to Avoid

  • Saying a 95%95\% confidence interval has a 95%95\% chance of containing the true parameter is wrong because, in frequentist statistics, the parameter is fixed and the interval is random.
  • Treating a pp-value as P(H0D)P(H_0\mid D) is wrong because a pp-value is calculated as P(data at least as extreme as observedH0)P(\text{data at least as extreme as observed}\mid H_0).
  • Ignoring the prior in a Bayesian analysis is wrong because the posterior P(θD)P(\theta\mid D) depends on both the prior P(θ)P(\theta) and the likelihood P(Dθ)P(D\mid \theta).
  • Comparing a credible interval and a confidence interval as if they mean the same thing is wrong because they answer different questions about uncertainty.
  • Assuming Bayesian methods are always subjective and frequentist methods are always objective is wrong because both approaches require modeling choices and assumptions.

Practice Questions

  1. 1 A diagnostic test has P(+disease)=0.98P(+\mid \text{disease})=0.98, P(+no disease)=0.05P(+\mid \text{no disease})=0.05, and P(disease)=0.02P(\text{disease})=0.02. Use Bayes' theorem to find P(disease+)P(\text{disease}\mid +).
  2. 2 A sample has p^=0.62\hat{p}=0.62 and SE=0.04SE=0.04. Using z=1.96z^{\ast}=1.96, compute the approximate 95%95\% confidence interval p^±zSE\hat{p}\pm z^{\ast}\cdot SE.
  3. 3 A Bayesian analysis gives a posterior distribution with a 95%95\% credible interval of [0.48,0.72][0.48,0.72] for θ\theta. Write one correct sentence interpreting this interval.
  4. 4 A study reports a pp-value of 0.030.03. Explain what this means in frequentist terms and why it does not prove that the alternative hypothesis is true.