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.
Cet exercice fait partie du cours
A/B Testing in R
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Run a Logistic Regression
logmodel <- ___(___, ___, family = ___)
___(___)