Question: please give the answer code in R ( explain your solution ) Consider my favourite A R ( 2 ) model x t = 1
please give the answer code in R explain your solution
Consider my favourite model
where Recall this is the same model we used in Assignment Question
b So expect some consistency with the results you obtained there.
Determine the theoretical autocorrelation function, for the above process.
To do this apply the formulae that were derived in the notes ie the recursive calculation
of Use a "for loop" structure. For your final answer you should produce a table
of the theoretical autocorrelation values for lags dots, As well, use to
make a plot of this theoretical autocorrelation function, for all lags from to
in the plot command use typeh From the information in ACF, what is the period
of this process?
Next, generate and plot realizations from this model by representing it as a
bivariate AR Again, following the materials in class notes, being sure to first explain
and introduce the problem of converting a univariate to a bivariate For
simulation purposes, there is code provided on the website that generates realizations
from a bivariate random walk. Please make use of this code and modify it where
necessary to simulate a bivariate AR Annotate each line of the code to say what
it is doing, and also indicate exactly where you have modified it to adapt it to the
bivariate AR model. In your answer, show only the relevant time series plot, not all
the plots given for the D random walk.
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
