CommencerCommencez gratuitement

What about price?

Stop! You forgot to incorporate the effect of temporary PRICE changes in your model. You can correct this mistake by using the function update(). The update() function re-fits the dummy response model by updating and evaluating the log(SALES) ~ DISPLAY + COUPON + DISPLAYCOUPON relation stored in the dummy.model object.

Cet exercice fait partie du cours

<cours>Building Response Models in R</cours>
Voir le cours

Instructions de l’exercice

  • Update the dummy.model object for PRICE by using the update() function.

Exercice interactif pratique

Essayez cet exercice en complétant ce code d’exemple.

# Update the model for PRICE
___(dummy.model, . ~ . + ___)
Modifier et exécuter le code