question_text,difficulty What is linear regression?,easy What is the difference between simple and multiple linear regression?,easy What is the primary cost function used in linear regression?,easy What do the slope and intercept represent in a simple linear regression model?,easy What is the R-squared metric and what does it tell you?,easy What are the four core assumptions of linear regression?,medium How do you handle categorical variables when building a linear model?,medium What is multicollinearity and how can you detect it?,medium Explain the difference between R-squared and Adjusted R-squared.,medium How does gradient descent work in the context of linear regression?,medium What are residuals and why is residual analysis important?,medium How do you derive the normal equation for ordinary least squares?,hard What are the specific consequences of violating the homoscedasticity assumption?,hard Explain the bias-variance tradeoff specifically for linear regression models.,hard How do Ridge and Lasso regularization modify standard linear regression?,hard How would you implement linear regression from scratch without using external libraries?,hard What happens to your regression model when the number of features exceeds the number of observations?,hard