LoslegenKostenlos loslegen

Extending the logistic response model

Remember, the brewery installed point-of-sales displays to increase Hoppiness purchases. To stand out as a brand, the brewery additionally featured Hoppiness by highlighting it's regional character. These featuring activities had also been combined with point-of-sales displays.

You start with summarizing the DISPL.HOP, FEAT.HOP and FEATDISPL.HOP actions by using the function summary().

Next, you explain the purchase probabilities for HOPPINESS by price.ratio, DISPL.HOP, FEAT.HOP and FEATDISPL.HOP. Again, you use the function glm() and the family argument binomial.

Finally, you calculate the marginals effects of the predictors by using the function margins().

Diese Übung ist Teil des Kurses

Building Response Models in R

Kurs anzeigen

Interaktive Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# Summarizing the DISPL.HOP, FEAT.HOP, FEATDISPL.HOP actions
___(choice.data[c(___,___,___)])
Code bearbeiten und ausführen