1. Learn
  2. /
  3. Courses
  4. /
  5. A/B Testing in R

Exercise

Logistic regression model

Logistic regression models assess probabilities either including or ignoring the A/B groups. The deviance values in the output aid in assessing if the model is a good fit.

A company has gathered data on whether individuals clicked on an ad, Click, and wants to know about the amount of time spent on the site, TimeSearching in relation to clicking the ad. Run a logistic regression and determine if the model is a good fit, ignoring groups.

The webdata dataset has been loaded for you.

Instructions 1/3

undefined XP
    1
    2
    3
  • Run and view a logistic regression, logmodel, with the dependent variable Click and independent variable TimeSearching.