Lecture 40- Multiple Linear Regression 2 Flashcards
What is this lecture largely about?
Accessing whether our model for multiple linear regression is any good
What does adding in parameters do?
Adding in variables change estimates for parameters, change the model
Do the hypothesis test on slide 766…
Answers on slide
Read the R output on slide 767 and determine which variables in the multiple linear regression are valuable and what needs to got rid of
Answers in slide/ notes
What T distribution does multiple linear regression follow when trying to complete a hypothesis test?
n-k-1
Is it fine to leave in variables that aren’t significant to the model?
No, they can be detremetrial as create extra noise
When you refit a variable what do you have to make sure you do?
You need to refit the model to find the optimal parameter estimates
Read output on slide 776 and calculate a 95% confidence interval…
Answers on slide
What assumptions does multiple linear regression need to follow?
Linearity: There is a straight line relationship between µY and xj
when all other predictor variables are held constant.
Independence The responses Y1, Y2, . . . , Yn are statistically
independent.
Normality The error terms e1, e2, . . . , en come from a normal
distribution.
Equal variance The errors terms all have the same variance, σ
2 ‘homoscedastic’)
Plotting residuals against fitted values is useful for this