KatInterview

Regression Output Walkthrough: Slope, P-value, and Causality

Statistics & ExperimentsModel answer
MediumModel answerStatistics & Experimentsregressionhypothesis-testingconfidence-intervals

Last updated

Interpret a fitted regression slope end-to-end: build the test statistic, read p-values and intervals correctly, check assumptions, and explain why correlation isn't causation.

A growth analyst at a subscription snack-box company fits a simple linear regression of weekly new customers (y) on weekly radio-ad spending in $100 units (x) using 27 consecutive weeks of data. The output is:

ŷ = 41.2 + 0.84x     se(slope) = 0.30     residual sd = 9.5
p = 0.0097,  95% CI for slope: [0.22, 1.46]

The head of growth wants to triple the radio budget, and you need to walk them through what these numbers actually say before that decision is made.


Part 1 — The model and the test

Write out the full simple linear regression model with its parameters and error term. State the null and alternative hypotheses behind the reported p-value. Show explicitly how the test statistic is computed from the slope estimate and its standard error, and identify which reference distribution is used, including its degrees of freedom.


Part 2 — What the numbers mean

  • Write one precise sentence explaining what p = 0.0097 means. Then give two interpretations that sound reasonable but are actually wrong.
  • Explain what the 95% confidence interval means in the repeated-sampling sense, and clarify what it does not guarantee.
  • Describe the relationship between the two-sided test at α = 0.05 and whether zero falls inside the interval.

Part 3 — Assumptions and what breaks when they fail

List the assumptions that underpin your inference. For each one, describe the consequence of a violation and a practical check you would run on weekly time-series data like this.


Part 4 — Estimating a mean vs. predicting a single week

The growth lead asks: "If we put $2,000 into radio ads next week, how many new customers should we expect?" Distinguish between a confidence interval for the average response at that spend level and a prediction interval for that specific week's outcome. Explain which one is wider, why the gap persists even with large samples, and flag any concern about the requested spend level relative to the observed data.


Part 5 — Significance vs. causation, and practical importance

Explain why a small p-value and a positive slope do not establish that radio spending drives new customers. Name at least three concrete threats in this setting and sketch what a more credible causal study would look like. Finally, explain how a slope that is practically meaningless can still produce a highly significant p-value.

Hints

Hint 1

The test statistic is just the slope divided by its standard error; plug in the numbers and think about what distribution that ratio follows when the null is true.

Hint 2

A confidence interval describes a procedure across hypothetical repeated experiments, not a probability statement about this specific interval — be precise about what 'coverage' means and what it doesn't.

Hint 3

Ask yourself: what else changes on weeks when the company spends more on radio? Seasonality, competing campaigns, and budget rules tied to expected demand are all levers that could produce the observed pattern without any causal link.