Get startedGet started for free

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.

This exercise is part of the course

Building Response Models in R

View Course

Exercise instructions

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

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Update the model for PRICE
___(dummy.model, . ~ . + ___)
Edit and Run Code