Assumptions Of Linear Regression | What To Do If The Assumptions Do Not Hold? | Part 1
Key Takeaways
The video discusses the four assumptions of linear regression, including linear relationship, independence of observations, constant variance of residuals, and normal distribution of residuals, and provides guidance on what to do if these assumptions are not met, including using transformations, alternative models, and train test split.
Full Transcript
linear regression has four assumptions the assumptions are important because they ensure the model provides reliable and accurate results violation of at least one of the assumptions compromises the model's reliability however you can still use the linear regression in the case of a violation if you follow our instructions the first assumption says there should be a linear relationship between the independent variable X and the dependent variable y if the relationship isn't straight the model's predict will be off because it's trying to fit a straight line to a potentially curved Trend secondly each observation should be independent of the others the independence of observations ensures that each data point contributes new and unique information to the estimation of the regression coefficients the violation would lead to a biased estimate of the coefficients of the model thirdly the residuals have constant variance at every level of X it matters because if the spread of the error changes the model predictions might be less reliable for certain values having more errors than others lastly the residuals of the model are normally distributed this ensures that the statistical tests used to determine the significance of the predictors are valid leading to correct inferences now what if the assumptions do not hold firstly you need to understand your objective of using linear regression if you want to approach the problem statistically meaning you want necessarily to interpret with the statistical properties of the model then you can apply transformations to the variables consider alternative models use a smaller number of predictors or Implement other remedies to mitigate the potential violations however if you target a good performing model and you care less about the interpretability then in machine learning there is a powerful technique to check the reliability and the performance of the model called train test split if you run a linear regression model and see that it performs well on both train and test sets then you can probably use that model despite the violations however note that even with a good performing model you still can't interpret its statistical properties if there are violations we will refer to the train test split and how to check the assumptions of the linear regression model in the upcoming videos so stay tuned if you want to learn more about artificial intelligence subscribe to our channel to be aware of the new videos press the like button and let's discuss AI in the comment section [Music]
Original Description
🔥 The video talks about the assumptions of the linear regression. There are four main assumptions that should hold for the statistical properties to be valid. Additionally, we discuss what to do if the assumptions do not hold? What if the real-world datasets are too complex for the assumptions to hold?
Splitting the dataset into train and test datasets and using them for model evaluation can be a good way to validate the performance and reliability of the linear regression model, however, you should be very careful before relying on the statistical properties, if there are violations.
Stay tuned to learn about the way you can check the assumptions, as well as about how to effectively apply the train-test split approach.
🔍 Key points covered:
0:00 - Introduction.
0:18 - 1. Linearity
0:35 - 2. Independence
0:52 - 3. Homoscedasticity
1:05 - 4. Normality
1:18 - What if the assumptions do not hold?
1:32 - Resolve the violation.
1:44 - Train-Test Split Approach.
2:15 - Subscribe to us!
🔔 Don't forget to like, subscribe, and hit the bell icon to stay updated with our latest videos!
🤖 Note that we use synthetic generations, such as AI-generated images and voices, to enhance the appeal and engagement of our content.
🌐 If you have any questions or topics you want us to cover, leave a comment below. Additionally, share with your thoughts about the content, how do you think we can make them better? Thanks for watching!
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from AI For Beginners · AI For Beginners · 8 of 32
1
2
3
4
5
6
7
▶
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Artificial Intelligence Explained In Simple Words | What Is AI? | Explained On A Real World Example!
AI For Beginners
AI vs. ML vs. DL vs. DS - Difference Explained | On Real World Examples | AI For Beginners
AI For Beginners
Types Of Machine Learning Algorithms | Explained On Real World Examples | ML For Beginners
AI For Beginners
Best AI Music Generator | Music Generation Tool for FREE | MusicGen developed by Meta AI
AI For Beginners
The Ultimate Guide To Supervised Learning | Explained On Binary Classification Example | Part 1
AI For Beginners
The Ultimate Guide To Supervised Learning | Classification And Regression | Part 2
AI For Beginners
Linear Regression Explained | A Beginner's Guide To Regression | The Basics You Need to Know!
AI For Beginners
Assumptions Of Linear Regression | What To Do If The Assumptions Do Not Hold? | Part 1
AI For Beginners
Checking The Assumptions Of Linear Regression | Statistical And Visual Methods | Part 2
AI For Beginners
The Purpose of Train-Test Split in Machine Learning | How to Correctly Split Data?
AI For Beginners
The Role of Validation Sets in Model Training | Train-Test-Validation Splits | Clearly explained!
AI For Beginners
Overfitting and Underfitting | Bias and Variance Tradeoff in Machine Learning | Clearly Explained!
AI For Beginners
Gradient Descent Explained | How Do ML and DL Models Learn? | Simple Explanation!
AI For Beginners
Main Types of Gradient Descent | Batch, Stochastic and Mini-Batch Explained! | Which One to Choose?
AI For Beginners
The Role of Loss Functions | Most Common Loss Functions in Machine Learning | Explained!
AI For Beginners
How to Evaluate Your ML Models Effectively? | Evaluation Metrics in Machine Learning!
AI For Beginners
8 Best Tips For Cleaning Your Data | Data Cleaning | Machine Learning, Data Preparation.
AI For Beginners
Numerical vs. Categorical Data | Represent Your Dataset Correctly!
AI For Beginners
3 Main Types of Missing Data | Do THIS Before Handling Missing Values!
AI For Beginners
7 PROVEN Strategies To Become An AI Engineer (2025 Updated)
AI For Beginners
Easiest Guide to K-Fold Cross Validation | Explained in 2 Minutes!
AI For Beginners
Normalization and Standardization | Why to Scale the Features? | ML Basics
AI For Beginners
The Ultimate Guide to Hyperparameter Tuning | Grid Search vs. Randomized Search
AI For Beginners
How is Artificial Intelligence different from Traditional Programming?
AI For Beginners
All Machine Learning Models Clearly Explained!
AI For Beginners
6 Mistakes to Avoid When Learning Machine Learning in 2025
AI For Beginners
Best Practices for Effective Data Visualization In Machine Learning!
AI For Beginners
Central Limit Theorem Intuition Explained Like You're 5!
AI For Beginners
Which Door Would You Choose? | Monty Hall Problem Explained!
AI For Beginners
All Machine Learning Concepts Explained in 18 Minutes!
AI For Beginners
What’s the Probability That Two Randomly Drawn Chords in a Circle Intersect?
AI For Beginners
Causation vs Correlation | The Most Confused Concept in Data Science
AI For Beginners
More on: ML Maths Basics
View skill →Related Reads
📰
📰
📰
📰
Hyundai and Kia built a UV system that kills bacteria inside a car while you are sitting in it
The Next Web AI
The latest AI news we announced in June 2026
Google AI Blog
AI-Powered Theodore Roosevelt Is Ready To Answer Your Questions
Forbes Innovation
Krafton agrees to pay Subnautica 2 bonuses after CEO who used ChatGPT to dodge them steps down
The Next Web AI
Chapters (9)
Introduction.
0:18
1. Linearity
0:35
2. Independence
0:52
3. Homoscedasticity
1:05
4. Normality
1:18
What if the assumptions do not hold?
1:32
Resolve the violation.
1:44
Train-Test Split Approach.
2:15
Subscribe to us!
🎓
Tutor Explanation
DeepCamp AI