Residuals from regression model

Прогнозування попиту на товари в R

Aric LaBarr, Ph.D.

Senior Data Scientist, Elder Research

Linear Regression

Прогнозування попиту на товари в R

Regression Residuals

  • Ways to reduce residuals further:
    1. Add more important variables to the model
    2. Use time series if your residuals are related over time
Прогнозування попиту на товари в R

Examine Residuals

M_hi_full_res <- residuals(model_M_hi_full)

M_hi_full_res <- xts(M_hi_full_res, order.by = dates_train)
hist(M_hi_full_res) plot(M_hi_full_res)
Прогнозування попиту на товари в R

Residual Plots

Прогнозування попиту на товари в R

Let's practice!

Прогнозування попиту на товари в R

Preparing Video For Download...