logo

Hypothesis Testing for the Population Mean with a Small Sample 📂Statistical Test

Hypothesis Testing for the Population Mean with a Small Sample

Hypothesis Testing 1

Assuming the population distribution follows a normal distribution N(μ,σ2)N \left( \mu , \sigma^{2} \right) but the population variance σ2\sigma^{2} is unknown. When the sample size is n<30n < 30, a small sample, the hypothesis test about the candidate μ0\mu_{0} for the population mean proceeds as follows.

  • H0H_{0}: μ=μ0\mu = \mu_{0}. That is, the population mean is μ0\mu_{0}.
  • H1H_{1}: μμ0\mu \ne \mu_{0}. That is, the population mean is not μ0\mu_{0}.

test statistic

The test statistic uses the sample standard deviation ss as follows: t=Xμ0s/n t = {{ \overline{X} - \mu_{0} } \over { s / \sqrt{n} }}

Explanation

Essentially, this is no different from the hypothesis testing for population mean with a large sample, but it can be used even with a small sample provided that the population’s normality is assumed. Fortunately, the t-distribution is not significantly affected by the sample size, and thus the statistic tt is called robust. Regardless of the mathematical derivation process, in practice, the changes are not significant even if the population’s normality is somewhat lacking.

Derivation

Per Student’s theorem: Assuming that random variables X1,,XnX_{1} , \cdots , X_{n} are iid and follow a normal distribution N(μ,σ2)N\left( \mu,\sigma^{2} \right)

  • (a): XN(μ,σ2n) \overline{X} \sim N\left( \mu , { {\sigma^2} \over {n} } \right)
  • (b): XS2 \overline{X} \perp S^2
  • (c): (n1)S2σ2χ2(n1) (n-1) { {S^2} \over {\sigma^2} } \sim \chi^2 (n-1)
  • (d): T=XμS/nt(n1) T = { {\overline{X} - \mu } \over {S / \sqrt{n}} } \sim t(n-1)

According to Student’s theorem, the test statistic tt exactly follows a t-distribution with the degrees of freedom (n1)(n-1). Given a random variable YY that follows a t-distribution t(n1)t(n-1), for a significance level α\alpha, H0H_{0} is rejected if P(Ytα)=αP \left( Y \ge t_{\alpha} \right) = \alpha satisfies tαt_{\alpha}. This is equivalent to saying: ttα \left| t \right| \ge t_{\alpha} This means that believing μ=μ0\mu = \mu_{0} under the null hypothesis indicates that X\overline{X} is too far from μ0\mu_{0}.


  1. Mendenhall. (2012). Introduction to Probability and Statistics (13th Edition): p399. ↩︎