AP Statistics Unit 7: Inference for Quantitative Data - Means Study Guide
Topic 7.1: Introduction to Sampling Variability
- Concept of Sampling Variability: Samples vary naturally. A single sample mean () is unlikely to exactly match the true population mean ().
- Sampling Error: This natural variation between the sample mean and the population mean is termed "sampling variability" or "sampling error." It is not a mistake made by the researcher but a result of the random nature of sampling.
- Foundational Tools: Inference for means depends on constructing sampling distributions, which describe the behavior of all possible sample means.
- Normal vs. T Distribution: * Sampling distributions for means are typically approximated using a normal distribution. * In practice, the population standard deviation () is rarely known. Instead, researchers use the sample standard deviation () as an estimate. * When using to estimate , the T distribution is used because it provides a more accurate approximation. * The T distribution is similar to the normal distribution but has "heavier" or larger tails (more area on the bottom and left/right ends).
- Degrees of Freedom (): * Every T distribution is defined by its degrees of freedom, calculated as: * As the sample size () increases, the degrees of freedom increase. * As increases, the tails of the T distribution shrink, and the curve looks more and more like a standard normal distribution.
Topics 7.2 & 7.3: Constructing a Confidence Interval for a Population Mean
Purpose: To estimate the true population mean () based on a sample mean ().
The Four-Step Construction Process: 1. Step 1: Name and Context: Identify the procedure as a "One sample T interval for a population mean" and define the context of the parameter being estimated. 2. Step 2: Check Conditions: * Randomness: The sample must be a random sample to avoid bias. * 10% Rule: The sample size () must be less than 10% of the population to assume independence (). * Normal / Large Sample Condition: To ensure the sampling distribution of is approximately normal, one of the following must be true: * The population is known to be normal (any sample size works). * The sample size is large (), satisfying the Central Limit Theorem (CLT). * If and the population distribution is unknown, the data must be checked (via histogram, dot plot, or box plot) to ensure there are no major outliers or significant skewness. 3. Step 3: Calculated Math: * Formula: * Critical Value (): Found using a T table or the
invTfunction on a calculator. Input the area to the left (e.g., for 95% confidence, use 0.025 at the bottom) and the (). Standard Error: * Margin of Error (): The product of the critical value and the standard error (). 4. Step 4: Interpretation: Explicitly state: "I am [X]% confident that the true population mean of [Context] is between [Lower Bound] and [Upper Bound]."Factors Affecting Interval Width: * Sample Size (): Larger samples vary less. Increasing decreases the margin of error and narrows the interval. * Confidence Level: Higher confidence levels (e.g., 99% vs. 95%) require a wider interval to capture the true mean in more possible samples. * Ideal Balance: Researchers prefer high confidence combined with large sample sizes to achieve accurate, narrow intervals.
Example Case Study: AAA Batteries
- Scenario: Becky selects a random sample of batteries. The sample mean life is with a standard deviation of .
- Goal: Construct a 99% confidence interval.
- Process:
* Step 1: One sample T interval for the mean life of name-brand AAA batteries in a specific flashlight.
* Step 2: Random sample of 55 batteries; of all batteries; (CLT applies).
* Step 3: . Using
invT(area , ), . * Calculation: . * Interval: . * Step 4: Becky is 99% confident the true population mean time the batteries last is between and .
Interpreting Confidence Level vs. Confidence Interval
- Common Error: Interpreting the confidence level as a probability (e.g., "there is a 95% chance the mean is here").
- Correct Definition: If we were to take many, many random samples and construct a confidence interval for each, approximately [X]% of those intervals would contain the true population mean ().
- Logic: 95% of sample means are close enough to the center that their constructed intervals capture the true mean; the other 5% of intervals fail because they are based on extreme (unlikely) sample means.
Working Backwards: Determining Sample Size
- Sometimes researchers start with a desired margin of error ().
- Formula:
- Note: Since we don't know the sample size, we can't find or . In this case, we substitute the critical value from a normal distribution to estimate.
- Example (Marcus and Marbles): Marcus wants a of with 95% confidence and an estimated . * * Solving for : . Marcus needs to sample at least marbles.
Topics 7.4 & 7.5: Significance Tests for a Population Mean
- Purpose: To test a claim about a population mean based on sample evidence.
- The Four-Step Significance Test Process:
1. Step 1: Hypotheses and Name:
* Name: One sample T test for a population mean.
* Null Hypothesis (): The Status Quo ().
* Alternative Hypothesis (): The claim being investigated (, , or ).
2. Step 2: Conditions and Sampling Distribution:
* Verify Random, 10% Independence, and Normal/Large Sample conditions.
* State the Center (), Spread (Standard Error), and Shape (Approximate T distribution with ).
3. Step 3: P-value and T-score Calculation:
* T-score: Measures how many standard errors the sample mean is from the null mean.
* P-value Definition: The probability of obtaining any sample mean as extreme or more extreme than the observed mean, assuming is true.
* Tool:
tcdfon the calculator. Use and the lower/upper bounds defined by the T-score. * Two-Sided Tests: If is , double the P-value from the tail test. 4. Step 4: Conclusion: * Compare P-value to significance level (). * If P-value < : Reject . There is significant evidence for . * If P-value > : Fail to reject . There is not enough evidence for .
Type I and Type II Errors and Power
- Type I Error: Rejecting the null hypothesis () when it is actually true (a false positive).
- Type II Error: Failing to reject the null hypothesis () when the alternative hypothesis () is actually true (a false negative).
- Power: The probability of correctly rejecting a false null hypothesis. * Power is desirable. * To Increase Power: Increase the sample size (). Larger samples are more accurate to the truth and better at detecting differences.
Topics 7.6 & 7.7: Confidence Intervals for the Difference of Two Means
- Purpose: To estimate the difference between two population means ().
- Formulas: * Point Estimate: Difference in sample means (). * Standard Error: * Interval:
- Degrees of Freedom for Two Samples: 1. Use the complex calculator formula (most accurate). 2. Use the smaller of the two individual degrees of freedom values (). 3. Sum the degrees of freedom () (less accurate but often accepted on the AP exam).
- Interpretation: * If the interval is entirely positive (e.g., 1.2 to 14.0), group 1 is significantly larger than group 2. * If the interval is entirely negative, group 1 is significantly smaller than group 2. * If the interval contains Zero, there is no significant evidence of a difference between the means.
Topics 7.8 & 7.9: Significance Tests for the Difference of Two Means
- Name: Two sample T test for the difference between population means.
- Hypotheses: * , or . * , , or .
- T-score Calculation for Differences:
- Example Case Study: Resting Heart Rate: * Scenario: 10 exercisers () vs. 8 non-exercisers (). * H1: ; . * Standard Error: . * T-score: . * P-value: . * Conclusion: Since the P-value () is less than , we reject . There is significant evidence hikers/exercisers have a lower mean resting heart rate.