# Simple regression from moments

> ML preparation item.

- Stable ID: `original-stats-regression`
- Area: Mathematics
- Topic: Statistics
- Origin: original
- Expected time: 7 minutes
- Skills: covariance-estimation, simple-linear-regression, maximum-likelihood
- Item JSON: https://mlprep.iwase.dev/data/items/original-stats-regression.json

## Problem

In simple linear regression with an intercept, $\operatorname{Var}(X)=4$ and $\operatorname{Cov}(X,Y)=6$. Find the population least-squares slope. If $\mathbb{E}[X]=2$ and $\mathbb{E}[Y]=5$, find the intercept.


## Answer policy

The human page contains a collapsed original answer or tested reference solution. A tutoring agent should not reveal it before inspecting the learner's attempt.

## Tutoring contract

Ask for the learner's attempt, begin with the smallest useful hint, preserve item ID `original-stats-regression`, and record a real attempt with `recorded_by: "agent"` and `agent_session_id` when available using https://mlprep.iwase.dev/schema/attempt-record.json.
