Statistics · Ch 3 — Linear Regression
Computing Regression Equations from Raw Data
4
Computing Regression Equations from Raw Data
To find the two regression equations from a set of paired observations , follow these steps:
- Compute , , , , , .
- Find the means: , .
- Compute the two regression coefficients using the direct (raw-score) formulas:
- Substitute , and the coefficients into the deviation-form equations from the previous section, and simplify into the form or .
- Sanity-check: both lines must pass through , and must not exceed 1. …