Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 1:[18 Points] The data set souvenirs.csv contains the monthly sales of a shop from January 1987. (A) Initial examination of the data: Redefine
Question 1:[18 Points] The data set souvenirs.csv contains the monthly sales of a shop from January 1987. (A) Initial examination of the data: Redefine this dataset as a time series. Plot the data along with their ACF and describe the patterns in the graphs. (B) Transformation the data, if necessary: Take logarithms of these data. Does this transformation help the analysis? Why? (C) Initial identification of the dependence orders and degree of differencing: Based on your answer from Part (B), remove any pattern in the time series using regression or differencing. (D) Model suggestion: Fit the following models to the time series resulting from Step (C): 1. AR(1) [order=(1,0,0) in arima' function] 2. MA(1) [order=(0,0,1) in arima' function] 3. ARMA(1,1) [order=(1,0,1) in 'arima" function] Based on the AIC of the model, Which one is a better choice? Use the 'arima' function from 'stats package for this purpose. (E) Do the residual diagnostics for all the models in Part (D). Does your model fit the data well? Use 'sarima' function from 'stats' package for this purpose.
Step by Step Solution
★★★★★
3.53 Rating (163 Votes )
There are 3 Steps involved in it
Step: 1
A Initial examination of the data Import and define the souvenirscsv data as a time series object us...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