Multiple Linear Regression
vector of ones.
Assumptions
Fitting a separate linear regression?
- unclear how to make a single prediction of response given levels of different predictors, since each of the predictors is associated with a separate regression equotion.
- each regression of different predictors ignores others predictors.
Estimating the Regression Coefficients
least squares
Hat matrix
Symmetric and idempotent matrix
How to explain the different result?
simple linear regression
- the amount of response increase as the predictor increase one-units.
multiple linear regression
- the amount of response increase as increase one predictor one-units and hold others predictors fixed.
Important Questions
Is There a Relationship Between the Response and Predictors?
Sums of Squares
- Sums of Squares Total
- Sum of Squares Regression
Hypothesis test of model
For all coffients
For particular subset of of the coffients
- 此处例子为检验最后q个 coffcients