Question: Forecaster toolbox - Complete in R-Studio Install fpp2 library and connect this library by command library(fpp2). Do the same for fpp if you use it.

Forecaster toolbox - Complete in R-Studio

Install fpp2 library and connect this library by command library(fpp2). Do the same for fpp if you use it.

For the data set bricksq:

(a) Split the data into two parts using

> bricks1 <- window(bricksq, end=1987.99)

> bricks2 <- window(bricksq, start=1988)

(b) Check that your data have been split appropriately by producing plots of these two data sets.

(c) Calculate forecasts using each of the mean, nave, and seasonal naive benchmark methods applied to bricks1. Compare the accuracy of your forecasts against the actual values stored in bricks2. Which method does best? Why?

(d) For the best method, compute the residuals and plot them.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!