Question: Q 1 . Copy and paste the code as follows. set.seed ( 2 0 0 ) install.packages ( tseries ) #Only if you
Q Copy and paste the code as follows.
set.seed
install.packagestseries #Only if you have not already installed
requiretseries
rwalk ccumsumrnorm
rwalkts tsrwalk
rwalk ccumsumrnorm
rwalkts tsrwalk
#use the seqplot from tseries package
seqplot.tsrwalkts rwalkts
data.framedayrep:rwalktsrwalkts rwalktsrwalkts
a Save the results into data.frame object and store it in your PC
b Comment on the stationarity of the two series using plots. Also, explain the possible models that can be applied on the series.
c Run a regression and test the relationship between the dependent variable rwalkts and the independent variable rwalkts
d To check for stationarity, apply the unit root tests, only LjungBox, BoxPierce, and Augmented DickeyFuller.
e What is the order of integration in this series.
Q Suppose the data generated above is of growth in sales. Use the time series generated above and generate day ahead forecast using the Time Series Additive Model. Explain each step in details.
Q Describe the assumptions of the Linear Regression Model.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
