R Commander – linear regression

June 18, 2010

(This article was first published on Software for Exploratory Data Analysis and Statistical Modelling, and kindly contributed to R-bloggers)

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
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 on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Tags: , , , , ,

Comments are closed.


Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)