Skip to content

Commit bc1edd2

Browse files
authoredOct 11, 2022
Update interview_prep.md
1 parent 86cb063 commit bc1edd2

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed
 

‎interview_prep.md

+13-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,19 @@ This means that you automatically know the thickness of 6th book even though you
8686

8787
This means that if you have measured (n-1) objects then the nth object has no freedom to vary. Therefore, degree of freedom is only (n-1) and not n.
8888

89-
### 7. What are the assumptions of the normal distribution ? Why is it useful ?
89+
### 7. What are the assumptions of the linear regression model ? Why is it useful ?
90+
We can divide the basic assumptions of linear regression into two categories based on whether the assumptions are about the explanatory variables (i.e. features) or the residuals.
91+
92+
#### Assumptions about the explanatory variables (features):
93+
* Linearity
94+
* No multicollinearity
95+
96+
#### Assumptions about the error terms (residuals):
97+
* Gaussian distribution
98+
* Homoskedasticity
99+
* No autocorrelation
100+
* Zero conditional mean
101+
90102
### 8. What are the different approches to outlier detection ? How will you handle the outliers? Why is it useful ?
91103
### 9. How you assess OLS regression models ?
92104
Three statistics are used in Ordinary Least Squares (OLS) regression to evaluate model fit:

0 commit comments

Comments
 (0)
Please sign in to comment.