Analyze Linear Model – R

Linear models are very easy to do in R. However, many people forget to validate the assumptions of linear models. This function allows you to put in the formula and data to get  the  assumptions of normality, constant variance, independence of residuals.

This code AnalyzeModel.R will make it easier for you to run the regression and output the linear model assumptions.


Usage: AnalyzeModel(model, dataset)
#additional options available. 

Example: mdl = AnalyzeModel(weight~group)

Download the file: AnalyzeModel.R

Latest News, Insights and Trends in Analytics and Data Science