Start with a worked example
Open the worked example for Regression coefficients.
Multiple Linear Regression Calculator formula
β=(XᵀX)⁻¹Xᵀy, solved with pivoted Gauss–Jordan elimination.
Inputs and units
| Input | Format / range | Example |
|---|---|---|
| Rows y,x1,x2,… | Follow the input format above | 3,1,0
5,2,0
4,1,1
7,2,1
9,3,1 |
Worked example
The values listed in Inputs and units give intercept=0.4; β1=2.4; β2=1.46666667 for Regression coefficients.
- Regression coefficients
- intercept=0.4; β1=2.4; β2=1.46666667
- R²
- 0.98850575
- Observations
- 5
Results and assumptions
The result details report R², Observations for the same inputs as the main answer.
