Learn / Library / Statistics
Slope from Sums
For pairs you know , , and . What is the least-squares slope of on ?
Checking an answer needs JavaScript. The hint and the solution open without it.
Hint
The slope is the centred cross-product divided by the centred sum of squares.
Solution
- The centred cross-product is .
- The centred sum of squares is .
- The slope is , which reduces to .
Answer: