TGViewer
Data Science Portfolio - Kaggle Datasets & AI Projects | Artificial Intelligence Data Science Portfolio - Kaggle Datasets & AI Projects | Artificial Intelligence @dataportfolio · 38K subscribers
Post #862 1.27K
What are the main assumptions of linear regression?

There are several assumptions of linear regression. If any of them is violated, model predictions and interpretation may be worthless or misleading.

1) Linear relationship between features and target variable.

2) Additivity means that the effect of changes in one of the features on the target variable does not depend on values of other features. For example, a model for predicting revenue of a company have of two features - the number of items a sold and the number of items b sold. When company sells more items a the revenue increases and this is independent of the number of items b sold. But, if customers who buy a stop buying b, the additivity assumption is violated.

3) Features are not correlated (no collinearity) since it can be difficult to separate out the individual effects of collinear features on the target variable.

4) Errors are independently and identically normally distributed (yi = B0 + B1*x1i + ... + errori):

i) No correlation between errors (consecutive errors in the case of time series data).

ii) Constant variance of errors - homoscedasticity. For example, in case of time series, seasonal patterns can increase errors in seasons with higher activity.

iii) Errors are normaly distributed, otherwise some features will have more influence on the target variable than to others. If the error distribution is significantly non-normal, confidence intervals may be too wide or too narrow.
  • ❤ 4
More from @dataportfolio
  1. Oct 9, 2026How to Build an Impressive Data Analysis Portfolio As a data analyst, your portfolio is yo…
  2. Sep 20, 2026🌐 Data Science Tools & Their Use Cases 📊🔍 🔹 Python ➜ Core language for scripting, anal…
  3. Sep 19, 2026🤖 GigaChat 3.5 Reasoning 🎯 Thinks before answering: breaks problems into stages, builds…
  4. Sep 14, 2026✅ Data Science Interview Questions with Answers Part-4 • 31. Why is Python popular in data…
  5. Sep 14, 2026✅ Data Science Interview Questions with Answers Part-3 21. How do you handle missing value…
  6. Sep 14, 2026✅ Data Science Interview Questions with Answers Part-2 11. What is the difference between…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →