Question: For the following simulation study, use the last 4 digits of your student ID as the set.seed. For example, if your student ID is 1
For the following simulation study, use the last digits of your student ID as the
set.seed. For example, if your student ID is then use set.seed and if
it is use set.seed
In this simulation study, we want to check the asymptotic theory for the YuleWalker
estimator for an AR series with and by simulating series of
length Let the noise process Zt be a Gaussian white noise process with mean zero
and variance sigma
Z You can refer to Example and Lemma from the lecture
notes.
a Simulate time series, each with observations, as mentioned above. Hint:
In each iteration, generate a random normal sample of size and then use it as
the innov process in the arima.sim function.
b In each iteration, compute the YuleWalker estimator for the parameters of the
model and Add the estimated values from each iteration to the vectors
and
Hint: use the aryw function, set the order.max to and dmean to
FALSE. Keep the other parameters in the function to default.
c Compute the mean, variance, and covariance between the vectors
and
d Compare these values with the theoretical results from Lemma and comment.
No need to check the normality assumption
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
