Statistics 1 for Economics - 6B: T-Distribution and Inference
T-Distribution for Population Mean μ (Unknown Variance)
Context of Application: The T-distribution is used for making inferences about the population mean μ when the population variance σ2 is unknown.
Standardization vs. Studentization:
When σ2 is known, we use the Z-statistic: Z=σ/nXˉ−μ∼N(0,1).
When σ2 is unknown, we replace σ with the sample standard deviation s. This yields the T-statistic: T=s/nXˉ−μ∼t[df=n−1].
Degrees of Freedom (df): The T-distribution is defined by its degrees of freedom, which for a single sample is n−1.
As df increases, the T-distribution approaches the Normal distribution (N(0,1)).
Example: For a sample size of n=9, the df=8.
Confidence Intervals for a Single Mean (σ2 unknown)
General Formula: μ=xˉ±tα/2,n−1(ns).
Components:
xˉ: Sample mean.
tα/2,n−1: Critical value from the T-distribution table based on the desired confidence level (1−α) and degrees of freedom.
s: Sample standard deviation (s=s2).
n: Sample size.
Example: Medicine Tablets:
Data: A sample of 10 tablets yielded measurements: 11.8, 11.7, 12.5, 11.6, 12.1, 11.7, 11.8, 11.4, 11.7, 11.7.
Summary Stats: n=10,xˉ=11.8,s2=0.09111,s=0.302.
Calculation for 95% Confidence:
1−α=0.95⟹α/2=0.025.
df=10−1=9.
Critical value t0.025,9=2.262.
Interval: 11.8±2.262×100.302=11.8±0.22.
Result: 11.58<μ<12.02.
Hypothesis Testing for a Single Mean (σ2 unknown)
Process Steps:
Assumptions and Conditions: Random sample; population variance σ2 is unknown; population is normally distributed (X∼N) or sample size is large enough to apply CLT (n≥30).
Hypotheses:
H0:μ=μ0 (e.g., H0:μ=12).
H1:μ=μ0.
Test Statistic: T=S/nXˉ−μ0∼t[df=n−1].
Rejection Region: For α=5, reject if ∣T∣≥t0.025,9=2.262.
Sample Realization:
tobs=0.302/1011.8−12=−2.09.
Decision: Since −2.262≤−2.09≤2.262, we do not rejectH0.
Conclusion: At the 5% significance level, there is insufficient evidence to conclude the mean active substance is different from 12 mg.
Determining the p-value with the T-Table
Definition: The probability of observing evidence as strong or stronger than the observed result, assuming H0 is true.
Since 1.833<2.09<2.262, then 0.05>21p-value>0.025.
Total p-value Range: 0.10≥p-value≥0.05.
Using the Statistical T-Table (Rules of Thumb)
General Lookup: Find the column for significance and row for df.
Missing df Values:
Use the closest value in the table (e.g., for df=153, use df≈160).
If exactly in the middle, use the smallerdf (e.g., for df=150, use df≈140).
Large Sample Approximations:
If 200≤df<400, use df≈200.
If df≥400, use df≈∞, where tα=zα.
Determining Sample Size
Objective: Achieve a specific margin of error (B) for a confidence interval.
Formula: n≥(Btα/2,n−1×s)2.
Iterative Process: Since n changes, the degrees of freedom and resulting tα/2,n−1 also change. Additionally, the sample standard deviation s may vary between samples, requiring recalculation of the margin.
Accuracy Methods:
Smaller confidence level (1−α) yields smaller t and a smaller margin.
Larger n yields a smaller margin.
Inference About the Difference Between Two Means (μ1−μ2)
Conditions and Assumptions:
Quantitative data collected from independent random samples.
Populations are normally distributed, OR sample sizes are large (n1≥30 and n2≥30).
Population variances σ12 and σ22 are unknown.
General Case (Equal Variances Not Assumed):
Test Statistic: T=n1s12+n2s22(xˉ1−xˉ2)−(μ1−μ2)∼t[df].
Degrees of Freedom (Welch-Satterthwaite): df=n1−1(s12/n1)2+n2−1(s22/n2)2(n1s12+n2s22)2.
Problem: Compare drying times of two manufacturers.
Manufacturer 1: n1=45,xˉ1=185,s1=20.
Manufacturer 2: n2=40,xˉ2=201,s2=57.
Significance level α=10.
Hypothesis Test:
H0:μ1−μ2=0 vs. H1:μ1−μ2=0.
df≈45 (calculated via formula, result 47.499 rounded down to nearest table entry).
tcrit=t0.05,45=1.679.
tobs=45202+40572185−201−0=−1.69.
Decision: Since ∣tobs∣>1.679, reject H0. There is sufficient evidence that mean drying times differ.
99% Confidence Interval:
1−α=0.99⟹α/2=0.005.
t0.005,45=2.690.
Interval: (185−201)±2.690×45202+40572=−16±25.
Special Case: Equal Population Variances (σ12=σ22)
Note: This is often referred to as the "pooled-variance" T-test. Keller Chapter 13.1 focuses primarily on the general case where equal variances are not assumed.
Pooled Variance Estimate: sp2=n1+n2−2(n1−1)s12+(n2−1)s22.
Test Statistic: T=sp2(n11+n21)(xˉ1−xˉ2)−(μ1−μ2).