Description Usage Arguments Value
(Stat 5100 function) Obtain a histogram of residuals for a linear model. This function also plots a normal curve on top of the histogram with the same mean and standard deviation. This helps you assess the validity of the normality assumption of residuals in linear regression.
1 | residual_hist(lmobject, ...)
|
lmobject |
A linear model object from the lm() function. |
A histogram of the residuals along with a theoretical normal curve with the same mean and standard deviation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.