STAT 100 Lesson 9: Confidence Intervals for Proportions and Means
Introduction to Confidence Intervals and Inferential Statistics
Lesson 9 in STAT 100 transitions towards the end of the course into the realm of inferential statistics.
The primary goal is to make estimates about unknown population parameters when researchers do not have access to the entire population.
This process involves taking a random sample and making an inference from it.
Types of population parameters discussed include:
Proportions (e.g., percentage of a group).
Means (e.g., average measurements).
Difference of two means.
Difference of two proportions.
Parameters vs. Statistics
It is vital to distinguish between values pertaining to the population versus values derived from a sample.
Parameter: A value that describes the whole population.
Notation for proportions: (the true proportion).
Notation for means: (the true population mean).
Statistic: A value calculated from a random sample.
Notation for proportions: (pronounced "p-hat").
Notation for means: (pronounced "x-bar").
Case Study 1: Veterans Health Care (Proportions)
The Problem: Researchers are interested in the percentage of veterans dissatisfied with the health care system.
Data: A random sample of veterans is taken. 100 veterans report dissatisfaction.
Parameter of Interest: The proportion of all veterans dissatisfied with the health care system.
Statistic: .
Case Study 2: Equatorial Diameter of Jupiter (Means)
The Problem: Measuring the true equatorial diameter of Jupiter using independent measurement tools.
Assumptions: The process is free of bias or represents a random sample.
Data: A sample of size is taken. The average of these values is with a standard deviation of .
Parameter of Interest: The actual equatorial diameter of Jupiter ().
Statistic: . The sample standard deviation is .
The Nature of Random Samples and Distributions
Random samples exhibit a specific order. If one takes random samples of the same size repeatedly from a population, the sample statistics will approximate a bell-shaped (Normal) distribution.
Sampling Distribution of Proportions: Sentered right at the true population proportion ().
Sampling Distribution of Averages: Centered right at the true population mean ().
The Reality of Sampling: In practice, researchers only have one sample. For the veterans study, it is the sample where . For Jupiter, it is the measurement where . It is impossible to know exactly where a single sample falls on the distribution without knowing the population parameter.
The Normal Approximation and Conditions for Validity
The sampling distribution follows a normal curve if specific conditions are met:
For Proportions:
In the VA example: and . Both are well above the threshold of 5.
For Means:
The sample size requirements depend on the skewness of the population distribution.
if the distribution is not strongly skewed.
if moderately skewed.
if strongly skewed.
In the Jupiter example, , which is sufficient for moderate skewness.
Standard Error (SE)
Since the population parameters ( and ) are unknown, we cannot calculate the exact standard deviation of the sampling distribution. Instead, we calculate the "Standard Error" using sample statistics.
Relationship with Sample Size: As sample size () increases, the standard error decreases. This is an inverse relationship that increases the precision of the estimate.
Formula for Proportions:
Formula for Means:
The General Form of a Confidence Interval
A confidence interval recognizes that a sample statistic equals the population parameter plus some margin of error.
General Formula:
Margin of Error Calculation:
The multiplier comes from the standard normal distribution ( distribution) with a center of 0 and a standard deviation of 1.
Z-Multipliers Table
80% Confidence:
90% Confidence:
95% Confidence: (often rounded to 2 in the Empirical Rule).
99% Confidence:
Constructing and Interpreting Intervals (VA and Jupiter Examples)
VA Study (95% Confidence Interval)
Statistic:
Multiplier:
Standard Error:
Calculation: results in the interval .
Interpretation: We are 95% confident that the true percentage of veterans unsatisfied with the healthcare system is between 21% and 29%.
Jupiter Study (95% Confidence Interval)
Statistic:
Multiplier:
Standard Error:
Calculation: results in the interval .
Interpretation: We are 95% confident the true equatorial diameter of Jupiter is between and .
Advanced Interpretations and Logic
The Meaning of Confidence: It does not mean there is a "95% chance" the true mean is there. It means if the sampling process were repeated many times, the calculated intervals would contain the true parameter 95% of the time.
Evidence and Plausibility:
If a 95% interval for the VA study is , is it plausible the true proportion is less than 30%? Yes, because the entire interval is below 30%.
How to find the Margin of Error from an existing interval: Calculate the difference between the upper/lower bounds and the point estimate in the middle. For , the middle is , and the margin of error is .
What Changes and What Stays Constant: If you take a new sample of 36 measurements for Jupiter, the true value remains constant. However, the sample statistic, the intervals, and the standard error may all change due to randomness.
Two-Sample Confidence Intervals (Difference in Proportions)
The Problem: Comparison of tooth decay (untreated cavities) between sugary soda drinkers and non-soda drinkers.
Group 1 (Soda): , have cavities ().
Group 2 (Non-soda): , have cavities ().
Combining Standard Errors
If the two samples are independent, the standard error for the difference is found by adding the squared individual standard errors then taking the square root:
In this study, .
Calculating the 99% Interval for Difference
Statistic:
Multiplier:
Interval:
Result: .
Interpretation: We are 99% confident that the true difference in the proportion of teenagers with cavities between the two groups is between 0.075 and 0.425.
Significance Testing via Intervals
Including Zero: If a difference interval includes zero (e.g., ), zero is a plausible difference, meaning we do not have enough evidence to claim a significant difference between the groups.
Non-Overlapping Intervals: If individual intervals for two groups do not overlap (e.g., vs ), it strongly suggests a statistically significant difference exists.