Week 9 Tutorial Solutions
Week 9 Tutorial Solutions
መ
• We estimate the true population values 𝛽’s with 𝛽‘s.
𝟎 and 𝜷
• Key issue: how to search for the values of 𝜷 𝟏 given the data?
Beds
Simple Linear Regression Pitfalls
Intercept Slope
Area 539.357 1.093
Beds 261.501 264.855
Baths 661.001 288.180
Cars 845.000 200.464
• These results give you area, beds, baths and cars premiums
• But they are misleading because of inter-connected relations!
Part A : Tutor Led
We are going to explore the relationship between property price and
property features for older homes in this tutorial. Open the datafile Week 9
Tutorial Data.xlsx. Look at the “Older Homes” tab. We will begin by
estimating the simple linear regressions and report the coefficients here.
𝛽መ1 = The change in predicted 𝑌 when 𝑋1 values increases by one unit, holding other
𝑋 variables fixed.
…
𝛽መ𝑘 = The change in predicted 𝑌 when 𝑋𝑘 values increases by one unit, holding other
𝑋 variables fixed.
Part B: Tutor Led
T5. For the “OlderHomes” data, estimate the multiple linear regression:
𝑃𝑟𝑖𝑐𝑒𝑖 = 𝛽0 + 𝛽1 𝐴𝑟𝑒𝑎𝑖 + 𝛽2 𝐵𝑒𝑑𝑠𝑖 + 𝛽3 𝐵𝑎𝑡ℎ𝑠𝑖 + 𝛽4 𝐶𝑎𝑟𝑠𝑖 + 𝜀𝑖
Report the slope of Area. Report to 4 decimal places.
Slope of Area = 0.9395
T6. If an investor is considering renovating an older home to include two
more bedrooms, calculate the expected increase in property price as a
result of this renovation from the multiple linear regression model.
$61,107
Part B: Tutor Led
T7.Compare the premiums calculated in T3 (simple linear regression) and
T6 (multiple linear regression). Which two of the following statements
are FALSE?
• The premium calculated in T6 is misleading because we included
additional features in the model.
• The premium calculated in T3 is misleading due to omitted variable bias in
the single linear regression model.
• Because Area and Beds are positively correlated, the answer in T3 reflects
the land size that comes with larger area as well, not just the bedroom
feature.
• We should use the premium calculated in T3 because it gives a higher
estimate.
Quiz on Moodle
Complete the Part B questions.