Linear Regression Model
Linear Regression Model
(MBA ZG536)
ON
2023mb21003
1. Build a linear regression model in excel and paste the output (full model
summary) below. The model should have at least 5 features.
Answer:-
2. Based on the excel output, write the model equation in the below format.
Replace β0, β1… by appropriate coefficient values and X1, X2… by appropriate
column/feature names.
Answer:
B0 9.986
B1 -2.0411
B2 0.1011
B3 6.7784
B4 -2.595
B5 -68.9355
B6 -73.4528
B7 -56.0441
Answer: The value of B0 = 9.986. The intercept represents the mean value of the response
variable when all the predictor variables in the model are equal to Zero. Therefore, 9.986 is
the mean value of the response variable when x=0.
5. Paste the final output dataframe screenshot for the test set from jupyter. The
structure should look like the below table (4 points).
Answer:
6. What is the RMSE value of the model on the test data set?