Answered step by step
Verified Expert Solution
Link Copied!

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 fpp3 library, all info for this question is available:
Consider Australian tobacco production from the `aus_production` tsibble included in the `fpp3` package. The code below will help you isolate the time series for tobacco production from the dataset.
tobacco <- aus_production |>
select(-c(Beer,Bricks,Cement,Electricity,Gas))
Create a training set that includes all data up to Q4 of 1998 and use data from 1999 on as your test set. The following code will help:
production_train <- tobacco |>
filter(year(Quarter)<1999)
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 p-value of the Ljung-Box test (including 8 lags). Round your answer to 2 decimals.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

What is Aufbau's rule explain with example?

Answered: 1 week ago