Logistic regressions (in R)

By Steph

(This article was first published on R – Locke Data, and kindly contributed to R-bloggers)

Logistic regressions are a great tool for predicting outcomes that are categorical. They use a transformation function based on probability to perform a linear regression. This makes them easy to interpret and implement in other systems.

Logistic regressions can be used to perform a classification for things like determining whether someone needs to go for a biopsy. They can also be used for a more nuanced view by using the probabilities of an outcome for thinks like prioritising interventions based on likelihood to default on a loan.

I recently did a remote talk to Plymouth University on logistic regressions, which covers:

  • how they work (not maths heavy!)
  • how you build them in R
  • things to think about when preparing you data
  • ways to evaluate a logistic regression

You can watch the video below, get the slides, and view the slides’ source code.

This talk is a cut-down version of my community workshop on logistic regressions, which is in itself a cut-down version of a full day of training on them. Get in touch if you’re interested in the talk or workshop for your user group, or if you’d like to discuss in-depth training.

The post Logistic regressions (in R) appeared first on Locke Data. Locke Data are a data science consultancy aimed at helping organisations get ready and get started with data science.

To leave a comment for the author, please follow the link and comment on their blog: R – Locke Data.

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…

Source:: R News

Leave a Reply

Your email address will not be published. Required fields are marked *


Time limit is exhausted. Please reload CAPTCHA.