Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please use R studio ( R code ) to answer. If you load fpp 3 library, all info for this question is available: Consider Australian
Please use R studio R code to answer. If you load fpp library, all info for this question is available:
Consider Australian tobacco production from the ausproduction tsibble included in the fpp package. The code below will help you isolate the time series for tobacco production from the dataset.
tobacco ausproduction
selectcBeerBricks,Cement,Electricity,Gas
Create a training set that includes all data up to Q of and use data from on as your test set. The following code will help:
productiontrain tobacco
filteryearQuarter
Using the training data, fit the benchmark methods naive mean, seasonal naive, drift to the training set and forecast the periods covered by the test set. Which model performs best based on RMSE, MAE, MAPE and RMSSE?
a
Mean
b
Naive
c
Seasonal naive
d
Drift
For the "winning" forecasting model from the previous questions, calculate the pvalue of the LjungBox test including lags Round your answer to decimals.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started