# R Commander – linear regression

[This article was first published on

Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

**Software for Exploratory Data Analysis and Statistical Modelling**, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

We can fit various linear regression models using the R Commander GUI which also provides various ways to consider the model diagnostics to determine whether we need to consider a different model.

Fast Tube by Casper

The **“Statistics”** menu provides access to various statistical models via the **“Fit models”** sub-menu including:

- Linear regression – the simplest scenario with a single response and one explanatory variable.
- Linear model – various extensions to the simple linear regression model where we can specify a model formula using the Wilkinson-Rogers notation.

The **“Models”** menu provides access to various diagnostics for statistical models via the **“Graphs”** sub-menu including:

- Basic diagnostic plots – four commonly used residual diagnostics including fitted values versus residuals and a normal probability plot for the residuals.

Other useful resources are provided on the Supplementary Material page.

To

**leave a comment**for the author, please follow the link and comment on their blog:**Software for Exploratory Data Analysis and Statistical Modelling**.R-bloggers.com offers

**daily e-mail updates**about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.

Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.