Standard error of the slope
A statistics problem from Statisticsdrill. Solve it with one answer box, with a fresh sample on every attempt and the worked steps and spreadsheet function in the answer, and it is checked the moment you submit.
The task
Data on monthly ad spend and sales at regional stores (x = Ad spend ($k), y = Sales ($k)): (9, 87.8), (10, 98.7), (6, 81.3), (12, 99.1), (15, 111.9), (6, 78.6). Fit the least-squares line and find the standard error of the slope, SE(b) = s_e / √Sxx, where s_e = √(SSE / (n - 2)) is the residual standard error. Round to 3 decimal places.
What this problem teaches
The formula: SE(b) = s_e / √Sxx, s_e = √( SSE / (n - 2) ). Dividing the slope by its standard error gives the t statistic for H0: slope = 0 with n - 2 degrees of freedom. SSE loses two degrees of freedom because the line has two fitted parameters.
A hint if you get stuck
SSE = Σ(y - ŷ)² = Syy - b × Sxy. Then s_e = √(SSE / (n - 2)) and SE(b) = s_e / √Sxx.
Try it now, free, no account needed
The first 15 tasks on Statisticsdrill are free. Open it on the practice page, solve it, and get instant feedback with a hint. A free account adds the worked solution; Pro unlocks every task, timed mode and the certificate.
Open this problemMore problems in Relationships
- Correlation coefficient
- Regression slope
- Regression intercept
- Predicted value from a fitted line
- Residual of one observation
- R squared
- Interpreting a slope in units
- A/B test: relative lift
- A/B test: p-value and decision
- Testing a correlation
- Sample covariance
- A/B test: confidence interval for the difference
- Testing a regression slope
- Adjusted R squared
- Correlation from a slope