Loading...
Loading...
Fit a linear regression with several predictors at once, and see every coefficient, its significance, and how well the whole model fits.
First row: comma-separated headers, outcome first (e.g. y,x1,x2). Each row after that: one observation. Up to 6 predictors work well here; for more, use dedicated statistics software.
ŷ = -16.836 + 3.3062·x1 + 3.9153·x2
| Term | Coef. | SE | t | p-value |
|---|---|---|---|---|
| Intercept | -16.8361 | 7.9971 | -2.105 | 0.0733 |
| x1 | 3.3062 | 0.62 | 5.333 | 0.0011 |
| x2 | 3.9153 | 0.615 | 6.366 | 0.0004 |
The model explains 97.8% of the variation in y (adjusted for the number of predictors: 97.2%). The overall F-test (158.57 on 2 and 7 degrees of freedom, p < 0.0001) tests whether the predictors jointly explain more than chance. Each coefficient's own p-value tests that predictor while holding the others constant, following the logic in multiple regression.