Hey everyone,
I've done several linear regression.
Now I would like to test if my residuals are normally distributed.
That is how my Q-Q Plots look like:
Hi @SN131,
You can test the normality of your regression residuals as follows:
# See: https://cran.r-project.org/web/packages/olsrr/vignettes/residual_diagnostics.html
library(olsrr)
#>
#> Attaching package: 'olsrr'
#> The following object is masked from 'package:datasets':
#>
#> rivers
model <- lm(mpg ~ disp + hp + wt + qsec, data = mtcars)
ols_plot_resid_qq(model)