课程: Complete Guide to AI and Data Science for SQL: From Beginner to Advanced
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Assumption 3: Checking linearity - SQL教程
课程: Complete Guide to AI and Data Science for SQL: From Beginner to Advanced
Assumption 3: Checking linearity
- [Narrator] Now that you've checked for a homoscedasticity, let's cruise into assumption number three, the linearity of variables. But what does that mean exactly? Well, it's all about making sure your predictor variables and your dependent variable have a linear relationship. Imagine you're on a road trip and you want to make sure your car is following a straight path on the map. That's what you're doing here. You want to ensure that your variables aren't all over the place, but have a nice straight relationship. To test this assumption, you're going to plot something called residuals against fitted values. Think of it as checking if your car is following a straight line on the road. Now, here's the code that performs this test. Now let's take a look at your plot. What you're looking for are signs of a clear pattern or curve. Patterns or curves might suggest that the relationship between the predictor variables and…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。
内容
-
-
-
-
-
-
-
-
-
-
-
-
-
(已锁定)
Creating the linear regression model and model summary: Part 19 分钟 33 秒
-
(已锁定)
Creating the linear regression model and model summary: Part 27 分钟 16 秒
-
(已锁定)
Creating the linear regression model and model summary: Part 35 分钟 33 秒
-
(已锁定)
Dropping insignificant variables and re-creating the model7 分钟 57 秒
-
(已锁定)
Checking assumptions for linear regression3 分钟 18 秒
-
(已锁定)
Assumption 1: Checking for mean residuals2 分钟 47 秒
-
(已锁定)
Assumption 2: Checking homoscedasticity3 分钟 13 秒
-
(已锁定)
Assumption 3: Checking linearity2 分钟 12 秒
-
(已锁定)
Assumption 4: Checking normality of error terms3 分钟 24 秒
-
(已锁定)
Q-Q plot for checking the normality of error terms3 分钟 14 秒
-
(已锁定)
Model performance comparison on train and test data6 分钟 7 秒
-
(已锁定)
Applying cross-validation and evaluation4 分钟 40 秒
-
(已锁定)
Challenge: Model building48 秒
-
(已锁定)
Solution: Model building1 分钟 16 秒
-
(已锁定)
-
-
-