Chapter 9 Multiple Linear Regression
Chapter 9 Multiple Linear Regression
Find a plane!!!
Pham Thi Viet Huong - VNU-IS 6
An example of multiple linear regression
• Example: recall our model for mpg. 𝑌" = 𝛽% + 𝛽' 𝑥"' + 𝛽) 𝑥") + 𝜀"
• 𝑥"': the weight of the ith car
• 𝑥"): the model year of the ith car
• Perform the test 𝐻% : 𝛽' = 0 𝐻' : 𝛽' ≠ 0
Second row!!!
WE ARE TESTING IF THERE IS A RELATIONSHIP BETWEEN WEIGHT AND FUEL EFFICIENCY, GIVEN
THAT A TERM FOR YEAR IS IN THE MODEL
• Then
• Use F-test
• ANOVA table
(the 𝛽 from the full model that are not in the null model are zero)
• The resulting model, which is nested, is the null model
Pham Thi Viet Huong - VNU-IS 26
Nested Models Test
ANOVA table
F statistics is 0.533 and the p-value is large, so we fail to reject the null hypothesis. Hence, the
ℎ𝑝, 𝑤𝑡, 𝑎𝑐𝑐, 𝑦𝑒𝑎𝑟 are significant with 𝑤𝑡 and 𝑦𝑒𝑎𝑟 already in the model