—
Fit a simple regression line
Tutor me on https://mlprep.iwase.dev/item/math-stats-10-simple-regression/. This is a screening item. If window.mlPrepAgent is available, read attempts for item math-stats-10-simple-regression before tutoring. Inspect my attempt, keep the item ID, and do not reveal the full answer first. After a real attempt, append its record with recorded_by agent, include agent_session_id when available, and read it back.Problem
Fit the ordinary least-squares line to the three points . Give the slope, intercept, prediction at , and the three residuals in data order.
Reveal answer or reference solution
Here , ,
and
Hence and . The prediction at is . The fitted values are , so the residuals are
Previous attempts
Loading attempts saved in this browser…