...
/Conditions for Inference for Regression-II
Conditions for Inference for Regression-II
Learn about the normality of residuals and equality of variance in regression inference conditions.
We'll cover the following...
We'll cover the following...
Normality of residuals
The third condition is that the residuals should follow a normal distribution. Furthermore, the center of this distribution should be 0. In other words, sometimes the regression model will make positive errors —
The simplest way to check the normality of the residuals is to look at a histogram, which we visualize in the figure below.
Press + to interact
R
ggplot(regression_points, aes(x = residual)) +geom_histogram(binwidth = 0.25, color = "white") +labs(x = "Residual")
This histogram shows that we have more positive residuals than negative. The residual