MulaiMulai sekarang secara gratis

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.

Latihan ini adalah bagian dari kursus

Building Response Models in R

Lihat Kursus

Petunjuk latihan

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

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Update the model for PRICE
___(dummy.model, . ~ . + ___)
Edit dan Jalankan Kode