One-Sample Hypothesis Testing: z-Tests, Statistical Power, and Student's t-Test

Sampling Distribution of the Mean & Central Limit Theorem

  • Sampling Distribution of the Mean: The probability distribution formed by calculating the means of an infinite number of random samples of size nn drawn from a population with mean μ\mu and variance σ2\sigma^2.

  • Parameters of the Sampling Distribution:

    • Mean: μYˉ=μ\mu_{\bar{Y}} = \mu

    • Variance: σYˉ2=σ2n\sigma_{\bar{Y}}^2 = \frac{\sigma^2}{n}

    • Standard Error of the Mean (SEM): σYˉ=σn\sigma_{\bar{Y}} = \frac{\sigma}{\sqrt{n}}

  • Central Limit Theorem (Everitt, Cambridge Dictionary of Statistics): If a random variable YY has population mean μ\mu and population variance σ2\sigma^2, the sample mean Yˉ\bar{Y} (or MM) based on nn observations has an approximate normal distribution N(μ,σ2n)N\left(\mu, \frac{\sigma^2}{n}\right) for sufficiently large nn, regardless of the underlying population's shape.

Null Hypothesis Significance Testing & One-Sample z-Tests

  • Hypotheses Framework:

    • Null Hypothesis (H0H_0): States no effect or difference (e.g., μ=μ0\mu = \mu_0).

    • Alternative Hypothesis (H1H_1): States an effect or difference exists (e.g., μ≠μ0\mu \neq \mu_0 or μ<μ0\mu < \mu_0).

    • H0H_0 and H1H_1 are mutually exclusive and exhaustive.

  • One-Sample zz-Test Formula: Used when the population standard deviation σ\sigma is known:   z=Xˉ−μ0σXˉ=Xˉ−μ0σnz = \frac{\bar{X} - \mu_0}{\sigma_{\bar{X}}} = \frac{\bar{X} - \mu_0}{\frac{\sigma}{\sqrt{n}}}

  • Test Directionality:

    • Non-Directional (Two-Tailed): Tests for deviations in either direction (H0:μ=μ0H_0: \mu = \mu_0, H1:μ≠μ0H_1: \mu \neq \mu_0). At α=0.05\alpha = 0.05, critical z=±1.96z = \pm 1.96, dividing the rejection region into 2.5%2.5\% in each tail.

  • Directional (One-Tailed): Tests for a specific direction (H0:μ≥μ0H_0: \mu \ge \mu_0, H1:μ<μ0H_1: \mu < \mu_0 or H0:μ≤μ0H_0: \mu \le \mu_0, H1:μ>μ0H_1: \mu > \mu_0). At α=0.05\alpha = 0.05, critical z=−1.64z = -1.64 (or +1.64+1.64), placing the entire 5%5\% rejection region in one tail.

  • Directional tests lower the threshold required to reject H0H_0 in the predicted direction while holding α\alpha constant.

Rejection regions for two-tailed and one-tailed hypothesis tests

Decision Outcomes, Errors, and Statistical Power

  • Hypothesis Testing Decision Matrix:

    • Type I Error (α\alpha): Rejecting H0H_0 when H0H_0 is true ("false alarm" / "false positive"). The error rate corresponds directly to the chosen significance level α\alpha.

    • Type II Error (β\beta): Failing to reject H0H_0 when H0H_0 is false ("miss" / "false negative").

    • Correct Retention: Failing to reject H0H_0 when H0H_0 is true (probability 1−α1 - \alpha).

    • Statistical Power (1−β1 - \beta): Correctly rejecting H0H_0 when H0H_0 is false ("hit" / "true positive").

  • Error Trade-off: Type I and Type II error rates are in direct opposition. Decreasing α\alpha (e.g., from 0.050.05 to 0.010.01) makes it harder to reject H0H_0, which increases β\beta and reduces power.

  • Determinants of Type II Error (β\beta) and Power (1−β1 - \beta):

    • Significance Level (α\alpha): Increasing α\alpha increases power (decreases β\beta).

    • Effect Size (∣μpop−μ0∣|\mu_{\text{pop}} - \mu_0|): Larger differences between the true population mean and the null mean increase power (decrease β\beta).

    • Sample Size (nn): Increasing nn decreases SEM=σn\text{SEM} = \frac{\sigma}{\sqrt{n}}, which increases the calculated test statistic and statistical power (decreases β\beta).

Student's t-Test for Unknown Population Variance

  • Estimation of Variance: When population variance σ2\sigma^2 is unknown, sample variance s2s^2 is used as an unbiased estimator of σ2\sigma^2.

  • Jensen's Inequality: If dd is an unbiased estimator of Δ\Delta, then d\sqrt{d} is a biased estimator of Δ\sqrt{\Delta}. Consequently, sample standard deviation ss is a biased estimator that systematically underestimates population standard deviation σ\sigma, especially in small samples.

  • Gosset's Discovery: William Sealy Gosset (publishing under the pseudonym "Student" at Guinness Brewery) demonstrated that substituting ss into the zz-formula produces an inflated statistic whose distribution has heavier tails than the standard normal distribution. Using normal critical values under unknown σ\sigma leads to inflated Type I error rates.

  • One-Sample tt-Statistic Formula:   t=Xˉ−μ0σ^Xˉ=Xˉ−μ0snt = \frac{\bar{X} - \mu_0}{\hat{\sigma}_{\bar{X}}} = \frac{\bar{X} - \mu_0}{\frac{s}{\sqrt{n}}}

  • Properties of Student's tt-Distribution:

    • Unimodal and symmetric around zero.

    • Parameterized by degrees of freedom (df=n−1df = n - 1).

    • Produces thicker tails than N(0,1)N(0, 1), requiring larger critical values to reject H0H_0.

    • Asymptotically approaches the standard normal distribution as sample size increases, becoming practically indistinguishable when df⪆30df \gtrapprox 30.

Student's t-distributions across various degrees of freedom compared to the standard normal distribution