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.
This exercise is part of the course
A/B Testing in R
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Run a Logistic Regression
logmodel <- ___(___, ___, family = ___)
___(___)