Question: Question: Linear Regression and Model Comparison (50 Points) Read the dataset real_estate_valuation.csv in R and answer the following questions. The data set contains information of

Question: Linear Regression and Model Comparison (50 Points)

Read the dataset real_estate_valuation.csv in R and answer the following questions. The data set contains information of house price and three different features of 414 houses. We'd like to explore the effect of different house features on house price (variable house_price_of_unit_area).

(a) Model the effect of house age (variable house_age) on house price with a simple linear regression (name the model as model_1). Check the coefficient of house_age and its 95% confidence interval, interpret them accordingly.

(b) Model the effect of three house features (variable house_age, distance_to_MRT_station, and num_of_convenience_store) on house price with a multiple linear regression (no interaction terms). Name the model as model_2, check the model summary and interpret the result.

(c) Visualize the effect of the three house features on house price by plotting the coefficients of each predictor in model_2. The graph should look similar as below.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!