IniziaInizia gratis

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.

Questo esercizio fa parte del corso

A/B Testing in R

Visualizza il corso

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

# Run a Logistic Regression
logmodel <- ___(___, ___, family = ___)
___(___)
Modifica ed esegui il codice