Lecture 10 Inference from Small Samples

This document provides an in-depth exploration of small-sample inference using Student’s t distribution, including hypothesis tests, confidence intervals, and comparisons of population means.

Inference from small samples

The document begins by discussing inference from small samples with a focus on the Student’s t distribution, its derivation, and application to real-world examples 1.

student’s t distribution

  • W. S. Gosset derived the density function for samples drawn from a normal population, publishing his results under the pen name “Student” 3.
  • The t statistic relies on both xˉ\bar{x} and ss, making these quantities random variables, unlike the z statistic which only involves the fixed sample mean 3.

Tip: When using the t distribution, remember that its “heavier tails” accommodate extra uncertainty from estimating the standard deviation with ss 4.

  • The sample variance is calculated as s2=∑i=1n(xi−xˉ)2n−1s^2=\frac{\sum_{i=1}^{n}(x_i-\bar{x})^2}{n-1} where the divisor n−1n-1 represents the degrees of freedom 5.

comparing t and normal distributions

  • Both Student’s t distribution and the standard normal (z) distribution appear similar; however, the t distribution has heavier tails, meaning it gives more probability to extreme events 4.
  • As the sample size nn increases, the value of ss becomes a more accurate estimator of the population standard deviation σ\sigma, causing the t distribution to resemble the standard normal distribution 4 5.

example: finding a critical t value

  • A practical example is provided where a sample size of n=10n=10 is considered, and one must find a value of tt so that only one percent of the values will be smaller 6.
  • With degrees of freedom calculated as df=n−1=9df = n - 1 = 9, the critical t value is found by noting that, due to symmetry, the value is the negative of the corresponding right-tail value, leading to −t0.01=−2.821-t_{0.01}=-2.821 7 8.

Note: Ensure that your sample meets the requirements of a random selection from a normally distributed population before applying these inferences 9.

assumptions for using the t distribution

  • The validity of inferences using the t distribution depends on:
    • The sample being randomly selected 9.
    • The underlying population being normally distributed 9.
    • For small samples (n<30n<30), the population standard deviation σ\sigma should be unknown, necessitating the use of the t distribution rather than the z distribution 10.

small-sample inferences concerning a population mean

This section focuses on hypothesis tests and confidence intervals for a single population mean when the sample size is less than 30 and σ\sigma is unknown 11.

hypothesis testing for a mean

  1. The null hypothesis is stated as:

    H0:μ=μ0H_0: \mu = \mu_0

    while the alternative hypothesis can be one-tailed (e.g., Ha:μ>μ0H_a: \mu > \mu_0 or Ha:μ<μ0H_a: \mu < \mu_0) or two-tailed (Ha:μ≠μ0H_a: \mu \neq \mu_0) 12.

  2. The test statistic is given by

    t=xˉ−μ0s/nt=\frac{\bar{x}-\mu_0}{s/\sqrt{n}}

    which compares the sample mean xˉ\bar{x} against the hypothesized population mean μ0\mu_0 12.

  3. The rejection region is set based on the chosen significance level α\alpha. For instance, in a one-tailed test, one would reject H0H_0 if

    t>tαt > t_\alpha

    (or t<−tαt < -t_\alpha when the alternative is Ha:μ<μ0H_a: \mu < \mu_0), and in a two-tailed test if t>tα/2t > t_{\alpha/2} or t<−tα/2t < -t_{\alpha/2}, or by comparing the p-value with α\alpha 13.

  4. Critical values of tt depend on n−1n-1 degrees of freedom; tables or online calculators may be used to obtain these values 14 15.

confidence interval for the mean

  • A (1−α)100%(1-\alpha)100\% confidence interval for μ\mu is constructed as: xˉ±tα/2sn\bar{x} \pm t_{\alpha/2}\frac{s}{\sqrt{n}} where sn\frac{s}{\sqrt{n}} is the estimated standard error of xˉ\bar{x} 16.

example: small-sample hypothesis test for a population mean

An example explores whether a new process for producing synthetic diamonds results in an average weight greater than 0.5 karat 17.

  • Six diamond samples are measured, with weights recorded as 0.46, 0.61, 0.52, 0.48, 0.57, and 0.54 karat.
  • The hypotheses are:
    • H0:μ=0.5H_0: \mu = 0.5
    • Ha:μ>0.5H_a: \mu > 0.5 18
  • With a calculated sample mean xˉ=0.53\bar{x} = 0.53 and sample standard deviation s=0.0559s = 0.0559, the t statistic is computed.
  • Using a 5% level of significance and the critical t value (with df=5df = 5) from the t table (e.g., t0.05≈2.015t_{0.05} \approx 2.015), the observed t value of 1.32 falls outside the rejection region, leading to the conclusion that there is insufficient evidence to indicate that the mean diamond weight exceeds 0.5 karat 21 22.

small-sample inferences for the difference between two population means

This section addresses tests for the difference between two means using independent random samples drawn from normally distributed populations 31.

assumptions and hypotheses

  • It is assumed that each sample, x1x_1 and x2x_2, is drawn from a normal population with means μ1\mu_1 and μ2\mu_2, respectively, and that the variances are equal.
  • The null hypothesis is typically stated as: H0:(μ1−μ2)=D0H_0: (\mu_1-\mu_2)=D_0 often with D0=0D_0=0 32 35.
  • The alternative hypothesis can be one-tailed (e.g., Ha:(μ1−μ2)>D0H_a: (\mu_1-\mu_2)>D_0) or two-tailed (Ha:(μ1−μ2)≠D0H_a: (\mu_1-\mu_2)\neq D_0) 35.

pooled variance and test statistic

  • When assuming equal variances, the pooled variance sp2s_p^2 is estimated by sp2=(n1−1)s12+(n2−1)s22n1+n2−2s_p^2=\frac{(n_1-1)s_1^2+(n_2-1)s_2^2}{n_1+n_2-2} 35.
  • The test statistic for comparing two means is then calculated as t=(xˉ1−xˉ2)−D0sp1n1+1n2t=\frac{(\bar{x}_1-\bar{x}_2)-D_0}{s_p\sqrt{\frac{1}{n_1}+\frac{1}{n_2}}} and follows a Student’s t distribution with n1+n2−2n_1+n_2-2 degrees of freedom 37 38.

confidence interval for the difference

  • A (1−α)100%(1-\alpha)100\% confidence interval for (μ1−μ2)(\mu_1-\mu_2) is provided using the pooled variance and the appropriate critical tt value 39.

Reminder: If the sample variances are found to be far from equal, the pooled variance estimator is not valid and an alternative method with approximate degrees of freedom must be used 51 52 53.

example: comparing online and classroom course outcomes

An example tests whether there is a significant difference in the average exam scores between students taking a course online versus those attending classroom lectures 40.

  • Two groups of nine students each are compared, with exam scores provided in a table 41.
  • The hypotheses are framed as:
    • H0:μ1=μ2H_0: \mu_1=\mu_2 (no difference in means)
    • Ha:μ1>μ2H_a: \mu_1>\mu_2 (the online group has a higher mean) 43
  • Visual inspections (via stem and leaf plots) and comparisons of standard deviations (with s1=4.9441s_1=4.9441 and s2=4.4752s_2=4.4752) support the assumptions of normality and equal variances 44 45.
  • After calculating the pooled variance and the corresponding t statistic, the observed t value is compared to the critical value t0.05=1.746t_{0.05}=1.746 with 16 degrees of freedom 46 47.
  • Since the calculated t does not exceed the critical value, the null hypothesis is not rejected, indicating insufficient evidence that the online course grade is significantly higher at the 5% level 47 48.

example: p-value approach and further consideration

Another example (Example 10.6) details the p-value approach in testing the difference between means:

  • For an observed t value of 1.65 and reference critical values t0.05=1.746t_{0.05}=1.746 and t0.1=1.337t_{0.1}=1.337, it is determined that 1.746>1.65>1.3371.746 > 1.65 > 1.337 which implies that the p-value lies between 0.05 and 0.10 49 50.
  • Because the p-value exceeds the conventional threshold of 0.05, the results would typically be reported as not statistically significant 50.

summary

The document provides a comprehensive review of:

  • The derivation and properties of the Student’s t distribution,
  • Hypothesis testing and confidence interval construction for a single population mean using small samples,
  • Procedures for comparing two means with independent samples,
  • The importance of checking assumptions (such as normality and equal variances),
  • And the proper use of both the critical value approach and the p-value approach in drawing conclusions from data.

Important: Always verify that all assumptions (random sampling, normality, equal variances when applicable) are met before applying the t-test methodology to ensure valid inferences 9 10.

This rich summary is designed to support exam preparation by ensuring retention of all key formulas, concepts, examples, and decision rules as laid out in the source document.

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also