psbe5e_lectureslides_ch08.pptx
Table of contents
- Inference for the mean of a population
- Comparing two means
- Additional topics on inference
1. Inference for the mean of a population
1.1 The t distributions
When the population standard deviation σ is unknown, the sampling distribution of the sample mean xˉ follows a t distribution. This distribution is used for inference about the population mean μ when σ is estimated by the sample standard deviation s.
The t distribution is characterized by its degrees of freedom (df), which is typically n−1 for a sample of size n.
- t distribution: A probability distribution used for inference when σ is unknown.
- Degrees of freedom (df): For a one-sample t-procedure, df = n−1.
- Shape of t distributions: They are bell-shaped and symmetric around 0, similar to the standard Normal distribution. However, t distributions have heavier tails, meaning they have more probability in the tails than the Normal distribution. This reflects the increased uncertainty due to estimating σ with s.
- Effect of degrees of freedom: As the degrees of freedom increase, the t distribution becomes closer to the standard Normal distribution. For very large sample sizes, the t distribution is virtually indistinguishable from the Normal distribution.

1.2 The one-sample t confidence interval
A confidence interval provides a range of plausible values for the population mean μ when σ is unknown. The general form of a t confidence interval is the sample mean plus or minus a margin of error.
- Confidence interval formula: xˉ±m, where m is the margin of error.
- Margin of error (m): m=t∗ns, where t∗ is the critical value from the t distribution with n−1 degrees of freedom corresponding to the desired confidence level C.
- Finding the critical value (t∗): The value t∗ is found using a t-distribution table (Table D) or a calculator, based on the degrees of freedom (n−1) and the confidence level (C). The area between −t∗ and t∗ is equal to C.
Red wine, in moderation (1 of 2) A study on nine healthy men drinking half a bottle of red wine daily for two weeks measured the percent change in blood polyphenol levels. The data were considered reasonably Normal despite the small sample size.
Red wine, in moderation (2 of 2) For this study, the sample average percent change was 5.5% with a sample standard deviation s=2.517. With n=9, the degrees of freedom are df=9−1=8. The 95% confidence interval for the average percent increase is calculated as 5.5±1.93. This means that with 95% confidence, the population average percent increase in polyphenol blood levels for men drinking this amount of red wine daily is between 3.6% and 7.4%.
1.3 The one-sample t test
A one-sample t test is used to test hypotheses about a population mean μ when σ is unknown. The procedure involves stating hypotheses, choosing a significance level, calculating a test statistic, and determining a P-value.
- Hypotheses:
- Null hypothesis (H0): Typically states that the population mean is equal to a specific value (μ=μ0).
- Alternative hypothesis (Ha): States that the population mean is greater than, less than, or not equal to μ0.
- Test statistic (t): t=s/nxˉ−μ0, calculated using the sample mean xˉ, the hypothesized population mean μ0, the sample standard deviation s, and the sample size n.
- P-value: The probability of observing a test statistic as extreme as, or more extreme than, the one calculated, assuming the null hypothesis is true. The P-value is determined by the area under the t distribution curve with n−1 degrees of freedom.
- Decision: If the P-value is less than the significance level α, reject H0. Otherwise, fail to reject H0.

Sweetening colas (2 of 3) Cola manufacturers tested if storage resulted in sweetness loss (H0:μ=0 vs. $H_a: \mu >