Inference About a Mean: Basic Biostatistics Study Guide

Chapter 11 Overview: Inference About a Mean

  • Main Subject: Basic Biostatistics - Statistics for Public Health Practice.

  • Author: B. Burt Gerstman.

  • Date: 5/8/2026.

  • Contents of Chapter 11:     * 11.1 Estimated Standard Error of the Mean.     * 11.2 Student’s t Distribution.     * 11.3 One-Sample t Test.     * 11.4 Confidence Interval for μ\mu.     * 11.5 Paired Samples.     * 11.6 Conditions for Inference.

Estimated Standard Error and the Transition to Student's t Procedures

  • When σ\sigma is Unknown:     * In previous chapters, it was assumed that the population standard deviation (σ\sigma) was known before data collection, allowing for the use of zz procedures to infer the population mean (μ\mu).     * When σ\sigma is NOT known, the researcher must calculate the sample standard deviation (ss) and use it to calculate the standard error.

  • The Impact of Additional Uncertainty:     * Using the sample standard deviation (ss) instead of the population parameter (σ\sigma) introduces additional uncertainty into statistical inferences.     * Because of this uncertainty, zz procedures cannot be used. Instead, researchers rely on Student’s t procedures.     * The Standard Normal distribution does not fit the data well when σ\sigma is estimated from the sample.

  • Historical Context: Student's t procedures were developed by William Sealy Gosset (18761876–19371937).

T-score vs. Z-score Usage Criteria

  • A t-score should be used instead of a z-score when:     * The sample size (nn) is below 3030.     * The population standard deviation (σ\sigma) is unknown and must be estimated from the sample data using ss.

Characteristics of Student’s t Distributions

  • Probability Distributions and Degrees of Freedom: t distributions are a family of probability distributions identified by a parameter called degrees of freedom (dfdf).

  • Shape Comparison to Z:     * The t distribution is similar in shape to the Standard Normal "Z" distribution (bell-shaped and symmetrical around 00).     * The t distribution has broader (heavier) tails compared to the Z distribution.

  • Effect of Degrees of Freedom:     * As the dfdf increases, the tails of the t distribution become "skinnier" (thinner).     * As dfdf increases, the t distribution becomes more like the Z distribution.     * A t distribution with infinite degrees of freedom (df=∞df = \infty) is identical to the Standard Normal Z distribution.

The t-Distribution Table (Table C)

  • Structure:     * Rows correspond to the degrees of freedom (dfdf).     * Columns correspond to selected right-tail (greater-than) probabilities (pp).     * Entries in the table are values (tt) on a t-distribution.

  • Notation: tcumprob,df=t valuet_{cum_prob,df} = t \text{ value}. For example, t.975,9=2.262t_{.975, 9} = 2.262.

  • Sample Data from Table:     * For df=1,p=0.05df = 1, p = 0.05, t=6.313752t = 6.313752.     * For df=10,p=0.025df = 10, p = 0.025, t=2.22814t = 2.22814.     * For df=30,p=0.0005df = 30, p = 0.0005, t=3.6460t = 3.6460.     * For infinite dfdf (∞\infty) at 95%95\% Confidence Interval level (which corresponds to p=0.025p = 0.025 for a two-tailed tail), the value is 1.959961.95996.

The t-Test Fundamentals

  • Statistical Significance: The t statistic is a measure of how likely it is that an observed difference in means is statistically significant.

  • Comparison: Like all test statistics, the calculated t value is compared to a critical value (tcriticalt_{critical}).     * The value of tt is calculated from the sample data.     * The value of tcriticalt_{critical} is determined by the selected Alpha (α\alpha or significance level) and the appropriate t-distribution based on dfdf.

  • Interpreting the t-Value: A larger value for tt makes it more likely to exceed tcriticalt_{critical}, which increases the likelihood that there is a statistically significant difference in the means.

  • Basic Formula:     t=xˉ−μsnt = \frac{\bar{x} - \mu}{\frac{s}{\sqrt{n}}}

Classifications of t-Tests

  • 1-Sample t-test:     * Mean 1: Sample from a population or process.     * Mean 2: Specified mean (a target, an estimate, or a historical value).

  • 2-Sample t-test:     * Mean 1: Sample from a population or process.     * Mean 2: Sample from a different population or process.

  • Paired t-test:     * Mean 1: One half of a sample of paired data (e.g., score before training).     * Mean 2: The other half of the sample of paired data for the same test subjects (e.g., score after training).

Degrees of Freedom (dfdf)

  • Single Sample t-test: df=n−1df = n - 1, where nn is the sample size.

  • Two-Sample t-test: df=n1+n2−2df = n_1 + n_2 - 2.

One-Sample t-Test: Objective and Conditions

  • Objective: To test a claim about a population mean (μ\mu).

  • Conditions:     * Simple Random Sample (SRS).     * Normal population or a "large sample."

Hypothesis Statements for One-Sample t-Test

  • Null Hypothesis (H0H_0): H0:μ=μ0H_0: \mu = \mu_0, where μ0\mu_0 represents the population mean expected under the null hypothesis.

  • Alternative Hypotheses (HaH_a):     * Ha:μ<μ0H_a: \mu < \mu_0 (One-sided, left-tailed).     * Ha:μ>μ0H_a: \mu > \mu_0 (One-sided, right-tailed).     * Ha:μ≠μ0H_a: \mu \neq \mu_0 (Two-sided).

Case Study: SIDS Birth Weights Example

  • Research Question: Do Sudden Infant Death Syndrome (SIDS) babies have lower average birth weights than the general population mean (μ\mu) of 3300 g3300\,g?

  • Hypotheses:     * H0:μ=3300H_0: \mu = 3300.     * Ha:μ<3300H_a: \mu < 3300 (one-sided) or Ha:μ≠3300H_a: \mu \neq 3300 (two-sided).

  • Data (n=10n = 10 SRS of birth weights in grams): 2998,3740,2031,2804,2454,2780,2203,3803,3948,21442998, 3740, 2031, 2804, 2454, 2780, 2203, 3803, 3948, 2144.

  • Calculated Statistics:     * Sample Mean (xˉ\bar{x}): 2890.52890.5.     * Standard Deviation (ss): 720720.     * Standard Error (SExˉSE_{\bar{x}}): sn=72010=227.68\frac{s}{\sqrt{n}} = \frac{720}{\sqrt{10}} = 227.68.

  • Test Statistic Calculation:     * tstat=xˉ−μ0SExˉ=2890.5−3300227.7=−1.80t_{stat} = \frac{\bar{x} - \mu_0}{SE_{\bar{x}}} = \frac{2890.5 - 3300}{227.7} = -1.80.     * df=n−1=10−1=9df = n - 1 = 10 - 1 = 9.

  • P-value Determination via Table C:     * For ∣tstat∣=1.80|t_{stat}| = 1.80 with 9 df9\,df:     * Looking at the row for df=9df=9, 1.801.80 falls between the values for probabilities 0.050.05 and 0.100.10.     * Upper-tail probabilities: t=1.383→p=0.10t=1.383 \rightarrow p=0.10; t=1.833→p=0.05t=1.833 \rightarrow p=0.05.     * One-tailed P-value: 0.05<P<0.100.05 < P < 0.10.     * Two-tailed P-value: 0.10<P<0.200.10 < P < 0.20.

  • Interpretation:     * Testing H0:μ=3300 gH_0: \mu = 3300\,g.     * The two-tailed P>.10P > .10.     * Conclusion: There is weak evidence against the null hypothesis. The sample mean (2890.52890.5) is not significantly different from 33003300.

Confidence Intervals for μ\mu

  • Definition: A measure of the reliability of a result. A confidence level of 95%95\% (or 0.950.95) means there is a probability of at least 95%95\% that the result is reliable.

  • Calculation for SIDS Data (95% CI):     * n=10n = 10, df=9df = 9.     * tn−1,1−α2=t9,.975=2.262t_{n-1, 1-\frac{\alpha}{2}} = t_{9, .975} = 2.262.     * 95% CI for μ=xˉ±(t9,.975×SExˉ)95\% \text{ CI for } \mu = \bar{x} \pm (t_{9, .975} \times SE_{\bar{x}}).     * Calculation: 2890.5±(2.262×227.68)=2890.5±515.12890.5 \pm (2.262 \times 227.68) = 2890.5 \pm 515.1.     * Interval: (2375 to 3406) g(2375 \text{ to } 3406)\,g.

  • Interpretation: We are 95%95\% confident that the population mean μ\mu is between 23752375 and 3406 g3406\,g.

The Normality Condition for Inference

  • Guidelines for using t procedures:     * Use when the population is Normal.     * Use when the population is symmetrical and n≥10n \geq 10.     * Use when the population is skewed and n≥approximately 45n \geq \text{approximately } 45 (the specific requirement depends on the severity of the skew).

Sample Size and Power

  • Methods Include:     1. Calculating nn required to achieve a specific margin of error (mm) when estimating μ\mu.     2. Calculating nn required to test H0H_0 with a desired power (1−β1-\beta).     3. Calculating the power of a specific test of H0H_0.

  • Variables for Power:     * α\alpha (two-sided alpha).     * Δ\Delta (Difference worth detecting) = μa−μ0\mu_a - \mu_0.     * nn (sample size).     * σ\sigma (standard deviation).     * Φ(z)\Phi(z) (cumulative probability of Standard Normal z-score).

  • SIDS Power Example:     * Let α=.05\alpha = .05, which gives z1−.05/2=1.96z_{1 - .05/2} = 1.96.     * Test H0:μ=3300H_0: \mu = 3300 vs. Ha:μ=3000H_a: \mu = 3000.     * Δ=3300−3000=300\Delta = 3300 - 3000 = 300.     * With n=10n = 10 and σ=720\sigma = 720, Φ(−0.64)=.2611\Phi(-0.64) = .2611.     * Power identified as approximately 0.2580.258.

Practical Application: DNA Extraction Grinding Step

  • Scenario: Standard kit extracts an average of 5μg5\mu g DNA. A scientist adds a grinding step for 1010 samples to increase efficiency.

  • Data set (DNA in μg\mu g): 10,8,8,7,6,4,5,9,12,410, 8, 8, 7, 6, 4, 5, 9, 12, 4.

  • Hypotheses:     * H0:μ=μ0H_0: \mu = \mu_0 (where μ0=5\mu_0 = 5).     * Ha:μ>μ0H_a: \mu > \mu_0.

  • Calculated Statistics:     * xˉ=7.33\bar{x} = 7.33.     * s=2.626s = 2.626.     * n=10;df=9n = 10; df = 9.     * SExˉ=2.62610=0.83SE_{\bar{x}} = \frac{2.626}{\sqrt{10}} = 0.83.     * tstat=7.3−50.83=2.7t_{stat} = \frac{7.3 - 5}{0.83} = 2.7.

  • Decision: Calculated tt (2.72.7) is greater than the critical tt (1.831.83) at α=0.05\alpha = 0.05.

  • Conclusion: H0H_0 is rejected. The grinding step significantly improves extracted DNA quantities.

Inference for Paired Samples

  • Definition: Two samples where each data point in one sample is uniquely matched to a data point in the other sample.

  • Examples:     * "Pre-test/post-test" designs.     * Cross-over trials.     * Pair-matching.

  • Analysis Approach: For paired data, calculations are performed on the within-pair difference variable, often denoted as "DELTA" (DELTA=Value 1−Value 2\text{DELTA} = \text{Value 1} - \text{Value 2} or vice versa).

Case Study: Oat Bran and LDL Cholesterol

  • Objective: To determine if oat bran reduces LDL cholesterol (mmol/Lmmol/L).

  • Study Design: Cross-over trial with a washout period. Subjects use a CORNFLK diet for two weeks, then OATBRAN for two weeks.

  • Data (n=12n = 12 subjects):     * Subject 1: CORNFLK 4.614.61, OATBRAN 3.843.84, DELTA 0.770.77.     * Subject 2: CORNFLK 6.426.42, OATBRAN 5.575.57, DELTA 0.850.85.     * Subject 3: CORNFLK 5.405.40, OATBRAN 5.855.85, DELTA −0.45-0.45.     * Remaining Delta values: −0.26,0.30,0.86,0.60,0.62,0.31,0.72,0.09,0.16-0.26, 0.30, 0.86, 0.60, 0.62, 0.31, 0.72, 0.09, 0.16.

  • Hypothesis Test:     * H0:μd=0H_0: \mu_d = 0.     * Ha:μd>0H_a: \mu_d > 0 (one-sided) or Ha:μd≠0H_a: \mu_d \neq 0 (two-sided).

  • Statistics:     * xˉ<em>d=0.3808\bar{x}<em>d = 0.3808.     * sd=0.4335s_d = 0.4335.     * n=12;df=11n = 12; df = 11.     * t</em>stat=0.38083−0.4335/12=3.043t</em>{stat} = \frac{0.38083 - 0}{.4335 / \sqrt{12}} = 3.043.

  • P-value Determination (Table C):     * For df=11df = 11, ∣tstat∣=3.043|t_{stat}| = 3.043:     * One-tailed: .005<P<.01.005 < P < .01.     * Two-tailed: .01<P<.02.01 < P < .02.

  • Computer Output (StaTable/SPSS):     * Two-tailed Sig: 0.0110.011.     * Mean Difference: 0.380830.38083.     * 95% CI for Difference95\% \text{ CI for Difference}: (0.1054 to 0.6563)(0.1054 \text{ to } 0.6563).

  • Interpretation:     * Testing H0:μ=0H_0: \mu = 0.     * Two-tailed P=0.011P = 0.011, providing good reason to doubt H0H_0.     * The difference is significant at α=.05\alpha = .05, but not at α=.01\alpha = .01.