Skip to main content
cheatish

STATISTICS · FREE REFERENCE

Intro Statistics: Distributions and Hypothesis Testing

Sampling distributions, confidence intervals, common test statistics, Type I and II errors, and regression.

AP Statistics and college Intro Stats. An original reference written by Cheatish, with assumptions and interpretation notes.

Get the printable sheet

Your quick reference

Describing data

  • Mean is pulled by outliers; median is not. Skewed data, report the median.
  • Right skew often pulls the mean above the median; left skew often pulls it below. This is a tendency, not a universal theorem.
  • IQR = Q3 - Q1. Outlier if below Q1 - 1.5×IQR or above Q3 + 1.5×IQR.
  • s2 = ∑(x-x̄)2/(n-1). The n-1 is Bessel's correction; dividing by n underestimates.

Normal distribution

  • z = (x - μ)/σ
  • 68-95-99.7 within 1, 2, 3 standard deviations
  • Standard normal has μ = 0, σ = 1

Sampling distributions

Central Limit Theorem: for independent, identically distributed observations with finite variance, the standardized sample mean approaches a normal distribution as n grows. Mean = μ; standard error = σ/√n. Strong skew or heavy tails may need much more than 30 observations.

Under these assumptions, quadrupling the sample size halves the standard error, not necessarily the observed estimation error.

Confidence intervals

  • Mean, σ unknown: x̄ ± t*(s/√n), df = n-1
  • Proportion: p̂ ± z*√(p̂(1-p̂)/n)
  • z* = 1.645 (90%), 1.96 (95%), 2.576 (99%)

Use independent random observations. A t interval needs approximately normal sample means; the proportion interval needs sufficiently many successes and failures (commonly at least 10 each).

A 95% CI does not mean 95% probability the parameter is in this interval. It means 95% of intervals built this way would contain it. This distinction is worth marks.

Hypothesis testing

  1. State H0 and Ha. H0 always has the equals.
  2. Check the conditions of the chosen test: study design, independence, distribution shape or success/failure counts as appropriate.
  3. Compute the test statistic.
  4. Find p, compare to α.
  5. p ≤ α: reject H0. Otherwise fail to reject.

Never "accept H0". Absence of evidence is not evidence of absence.

Test statistics

One meant = (x̄-μ0)/(s/√n)
One proportionz = (p̂-p0)/√(p0(1-p0)/n)
Two meanst = (x̄1-x̄2)/√(s12/n1+s22/n2)
Chi-squareχ2 = ∑(O-E)2/E

The two-means formula is for independent groups testing a zero mean difference (Welch test). A paired design tests within-pair differences. Proportion tests check counts under H0; chi-square tests require adequate expected counts.

Errors and power

  • Type I: rejecting a true H0. Probability = α.
  • Type II: failing to reject a false H0. Probability = β.
  • Power = 1 - β. Rises with larger n, larger effect size, larger α.

With the same design, sample size and effect, lowering α generally reduces Type I error and increases Type II error.

Regression

  • ŷ = b0 + b1x
  • r ranges -1 to 1; in simple linear regression with an intercept, r2 is the fraction of sample variation in y explained by the fitted model
  • Residual = observed - predicted. Patterned residuals suggest the linear model or its assumptions need review.
  • Correlation is not causation, and r only measures LINEAR association.

PUT IT INTO PRACTICE

Worked examples

A confidence interval for a mean

An independent random sample of 25 observations from an approximately normal population has mean 72 and standard deviation 10. Find a 95% interval for the population mean.

  1. The population standard deviation is unknown, so use a t interval with 24 degrees of freedom.
  2. Standard error = s/√n = 10/5 = 2.
  3. With t* ≈ 2.064, the margin of error is 2.064 × 2 = 4.128.

72 ± 4.128, or approximately (67.87, 76.13)

The 95% confidence level describes the long-run coverage of the interval method, not a 95% probability assigned to this fixed population mean.

Interpreting a p-value

A valid hypothesis test gives p = 0.03 with a preselected significance level α = 0.05.

  1. Compare the p-value to the significance level: 0.03 < 0.05.
  2. Reject H₀ at the 5% level.
  3. Report evidence for the alternative in the context of the study and discuss the effect size separately.

Reject H₀ at α = 0.05.

This does not mean there is a 3% probability that H₀ is true, or that the result has a large practical effect.

READY FOR YOUR DESK

Print it. Keep it. Share it.

Choose your reading comfort below.
Free to use, no account needed.

READING COMFORT

Checking page fit…

Layout adjustments and edits are free. Use print preview to check your paper size and page count.

Download PDFOpen full size
Download HTMLFor printing, use Letter paper and turn off browser headers and footers.