课程: Complete Guide to AI and Data Science for SQL: From Beginner to Advanced
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Assumption 4: Checking normality of error terms - SQL教程
课程: Complete Guide to AI and Data Science for SQL: From Beginner to Advanced
Assumption 4: Checking normality of error terms
- [Narrator] Let's continue your journey of checking the assumptions. In the last video, you made sure your variables have a clear relationship, just like a well-behaved car following a straight road. Now, let's dive into assumption number four, the normality of error terms. But what does that mean? Imagine you're on a road trip and you want to make sure the road is smooth without unexpected bumps or obstacles. Similarly, in your regression model, you want to ensure your errors or residuals, that is, the differences between your predicted values and the actual values follow a smooth, bell-shaped curve, just like a calm and predictable road. To test this assumption, you're going to create a histogram of your residuals. Think of it as checking the terrain of your road for bumps. Now, here's the code that performs this test for us. Let's take a look at your histogram. What we're hoping for is a shape that resembles a bell…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。
内容
-
-
-
-
-
-
-
-
-
-
-
-
-
(已锁定)
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 秒
-
(已锁定)
-
-
-