ComeçarComece de graça

The effect of display on sales

To see how much of an effect the DISPLAY actions have on log(SALES) you construct a simple response model for explaining log(SALES) by DISPLAY. The log(SALES) ~ DISPLAY relation is again estimated by the function lm(). Finally, you investigate the coefficients.

Este exercício faz parte do curso

Building Response Models in R

Ver curso

Instruções do exercício

  • Explain log(SALES) by DISPLAY. Use the function lm() and assign the result to an object called dummy.model.
  • Obtain the coefficients of the dummy.model by using the function coef().

Exercício interativo prático

Experimente este exercício completando este código de exemplo.

# Explain log(SALES) by DISPLAY
dummy.model <- ___(___, data = sales.data)

# Obtain the coefficients
Editar e executar o código