Forecast 函数
之前您已经构建了模型,并将其保存为 MET_t_model。现在需要对该模型在 2017 年前 5 个月进行预测。
本练习是课程的一部分
使用 R 预测产品需求
练习说明
- 使用
forecast函数对MET_t_model进行预测。将结果保存为forecast_MET_t。 - 需要预测 2017 年的前 22 周。
交互式实操练习
通过完成这段示例代码来试试这个练习。
# Forecast the first 22 weeks of 2017
forecast_MET_t <- forecast(___, h = ___)
# Plot this forecast #
plot(___)