visnights contains quarterly visitor nights (in millions) from 1998 to 2016 for twenty regions of Australia.
a. Use window() to create three training sets for visnights[,"QLDMetro"], omitting the last 1, 2 and 3 years; call these train1, train2, and train3, respectively. For example train1 <->
b. Compute one year of forecasts for each training set using the snaive() method. Call these fc1 , fc2 and fc3 , respectively.
c. Use accuracy() to compare the MAPE over the three test sets. Comment on these.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here