R Commander – logistic regression

June 23, 2010
By

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

We can use the R Commander GUI to fit logistic regression models with one or more explanatory variables. There are also facilities to plot data and consider model diagnostics. The same series of menus as for linear models are used to fit a logistic regression model.

Fast Tube
Fast Tube by Casper

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

  • Generalized Linear model – the most commonly used generalized linear models are avaiable, 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.

The “Hypothesis Tests” sub-menu can be used to generate comparisons between pairs of models.

Other useful resources are provided on the Supplementary Material page.

To leave a comment for the author, please follow the link and comment on his 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: 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.