Question: (a) i. Generate a random walk of length 10 and perform an augmented Dickey-Fuller test on the series for a unit root. ii. Generate a

(a) i. Generate a random walk of length 10 and perform an augmented Dickey-Fuller test on the series for a unit root.

ii. Generate a random walk of length 100 and perform an augmented Dickey-Fuller test on the series for a unit root.

iii. Generate a random walk of length 1,000 and perform an augmented Dickey-Fuller test on the series for a unit root.

(b) Determine the coefficients for an \(\mathrm{AR}(2)\) process with roots 1.00008 and 3.9968, and simulate a series of length 500 with this model. Perform an augmented Dickey-Fuller test for unit root.

Step by Step Solution

3.40 Rating (163 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Solution a i Generate a random walk of length 10 and perform an augmented DickeyFuller test on the series for a unit root python import numpy as np fr... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Statistical Analysis Questions!