0% found this document useful (0 votes)
14 views

Linear Regression Model

Linear Regression Model

Uploaded by

2023mb21003
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views

Linear Regression Model

Linear Regression Model

Uploaded by

2023mb21003
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Foundations of Data Science

(MBA ZG536)

Experimental Learning Assignment

ON

“Linear Regression Model”

Under the guidance of: Submitted By:


Prof. PRAVIN MHASKE RISHAV SRIVASTAVA

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

Predicted Price = 9.986 - 2.0411*No of Room + 0.1011 sqft + 6.7784*bath - 2.595*balcony -


68.9355*Super built-up Area - 73.4528* Built-up Area - 56.0441*Carpet Area

3. What is the value of β0 and how do you interpret it?

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.

4. Which features are significant?

Answer: Intercept, Sqft, Balcony.


These features have the p-value less than 0.05 and the t-value is either more than 2 or less
than -2 which is making these features as significant variables.

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?

Answer: RMSE value = 9.588516187

You might also like