The Case of the Vanishing Slope
Inference for Quantitative Data ยท Slopes
Every good detective knows: two variables can look like partners in crime, standing close together on a scatterplot, pointing in the same direction. But a scatterplot is only a rumor. To prove a real linear relationship exists in the population โ not just in this one sample โ you need evidence. That's where this agency comes in.
In this file, Lead Detective Kim Min-ho walks a new trainee through four cases:
1. Checking whether the evidence is even admissible (LINER conditions)
2. Estimating the true slope with a confidence interval
3. Putting a suspicious slope on trial (hypothesis test)
4. Reading how strong the evidence really is (interpreting the t-statistic)
No calculator tricks, no shortcuts skipped โ every number in this file has been checked three times. Tap Case 1 above (or the button below) whenever you're ready to start investigating.
Is the Evidence Even Admissible?
LINER Conditions
"Before I let any regression line testify in court," Detective Kim says, tapping a scatterplot pinned to the board, "it has to pass five background checks. I call them the LINER conditions. Skip even one, and the judge โ reality โ will throw the whole case out."
The Five Checks
Drawing the Boundary of Truth
Confidence Interval for the Slope
"We never know the *true* slope, โ that number belongs to the entire population, hiding just out of reach," says Detective Kim. "All we get is one sample's estimate, . So instead of pretending we know the exact truth, we draw a boundary โ a range we're confident contains it."
The Formula
is the sample slope from computer/calculator output, is its standard error, and is the critical value from the t-distribution table using .
For 95% confidence with df = 13, the critical value is t* โ 2.160.
Margin of error = t* ร SEb = 2.160 ร 0.4 = 0.864.
Interval: 2.5 ยฑ 0.864 โ (1.636, 3.364).
Margin of error = 1.860 ร 0.3 = 0.558.
Interval: 1.8 ยฑ 0.558 โ (1.242, 2.358).
Putting the Slope on Trial
Hypothesis Test for the Slope
"Sometimes a confidence interval isn't enough โ we need a verdict," Detective Kim explains. "So we put the boring explanation on trial: 'There is no relationship at all.' We call that the null hypothesis, and we only overturn it if the evidence against it is overwhelming."
The Hypotheses
The Test Statistic
Just like any t-test, we compare the sample statistic (b) to its hypothesized value (0), measured in standard errors. If |t| is large, the sample slope is far from 0 relative to its own uncertainty โ suspicious!
t = (3.2 โ 0) / 1.1 = 2.91.
Critical value for ฮฑ = 0.05 (two-sided), df = 18, is t* โ 2.101.
Since |2.91| > 2.101, the result falls in the rejection zone. The two-sided p-value โ 0.009.
t = (โ0.85 โ 0) / 0.40 = โ2.125.
Critical value, df = 23, ฮฑ = 0.05 two-sided โ ยฑ2.069.
|โ2.125| > 2.069 โ p-value โ 0.044.
Reading the Strength of a Clue
Interpreting the t-Test Statistic
"A rookie mistake," Detective Kim warns, "is thinking a bigger slope always means stronger evidence. It doesn't. What matters is how many standard errors away from zero that slope sits. That's exactly what t measures."
What t Actually Means
The t-statistic tells you: how many standard errors is the sample slope away from the hypothesized value (usually 0)? A bigger |t| means the sample slope would be a rarer, more surprising result if there really were no relationship โ so it's stronger evidence against Hโ.
Suspect B: b = 4, SEb = 0.5 โ t = 4/0.5 = 8
Case File Summary
Unit 9 ยท Inference for Slopes โ Quick Reference
"Every good detective keeps a one-page summary pinned above the desk. Here's yours." โ Kim Min-ho
LINER Conditions
Linear โ residual plot has no pattern.
Independent โ random sampling/assignment, <10% condition.
Normal โ residuals roughly normal at each x.
Equal SD โ constant residual spread, no fan shape.
Random โ data from random sample/experiment.
Confidence Interval for Slope
df = n โ 2. Find t* from the t-table at the chosen confidence level.
Hypothesis Test for Slope
Reject Hโ when p-value < ฮฑ (evidence of a real linear relationship).
Interpreting t
t = how many standard errors the sample slope is from 0. Larger |t| โ smaller p-value โ stronger evidence against Hโ. A small |t| means "not enough evidence," never "proof of no relationship."
Case closed. Go back through any file above to review the story, the worked examples, or retry the trainee tests.