AP Statistics 9.4 Setting Up a Test for the Slope of a Regression Model- MCQs - Exam Style Questions
Question
A student working on a physics project investigated the relationship between the speed and the height of roller coasters. The student collected data on the maximum speed, in miles per hour, and the maximum height, in feet, for a random sample of \(21\) roller coasters, with the intent of testing the slope of the linear relationship between maximum speed and maximum height. However, based on the residual plot shown, the conditions for such a test might not be met.
(B) The sum of the residuals is \(0\).
(C) The expected value of the errors is \(0\).
(D) There is a linear relationship between the response variable and the explanatory variable.
(E) The variance of the response variable is constant for all values of the explanatory variable.
▶️ Answer/Explanation
In a residual plot for simple linear regression, the constant variance (equal spread) condition requires the residuals to have roughly the same vertical spread for all \(x\)-values.
From the plot, residuals for heights below about \(125\) feet cluster close to \(0\), while for larger heights the residuals show much greater spread (both positive and negative).
This pattern indicates nonconstant error variance (heteroscedasticity), violating the assumption of equal variance across the range of the explanatory variable.
Therefore, the condition that appears to be violated is constant variance.
✅ Answer: (E)
Question
Participant | A | B | C | D | E | F | G | H | I | J |
---|---|---|---|---|---|---|---|---|---|---|
Before (%) | 10.8 | 21.5 | 18.9 | 17.0 | 20.8 | 24.6 | 15.4 | 18.2 | 19.9 | 21.2 |
After (%) | 10.7 | 20.4 | 19.1 | 16.1 | 20.6 | 22.3 | 15.5 | 18.1 | 18.5 | 20.0 |
(B) A two-sample t-test for a difference between means
(C) A two-sample z-test for a difference between proportions
(D) A chi-square test of association
(E) A linear regression t-test for slope
▶️ Answer/Explanation
1. Identify the Goal and Variable Types:
– The goal is to see if one variable can help to **predict** another.
– The “Before” percentage is a quantitative variable.
– The “After” percentage is also a quantitative variable.
2. Select the Appropriate Test:
– A matched-pairs t-test (A) investigates the *mean difference* between paired data, not prediction.
– Two-sample tests (B, C) and chi-square tests (D) are for comparing groups or categories, not for prediction with two quantitative variables.
– A **linear regression t-test for slope** is specifically used to determine if a statistically significant linear relationship exists between two quantitative variables for the purpose of prediction.
Since the goal is prediction between two quantitative variables, this is the correct procedure.
✅ Answer: (E)