Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Simulate a time series of T error terms t(i), t = 1, . . . , T distributed as N(0, 1). T is the length

  1. Simulate a time series of T error terms εt(i), t = 1, . . . , T distributed as N(0, 1). T is the length of your  series.

  2. Compute a time series of prices, assuming that they are driven by a random walk pt(i) = pt-1(i) + εt(i).

  3. Estimate the AR(1) model pt(i) = α(i) + β(i)pt-1(i) + ut(i).

  4. Compute the test statistic t(β(i)) for the null hypothesis from the DF test.

I have to do this on python but I don't know how.

Step by Step Solution

3.47 Rating (157 Votes )

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Business Forecasting

Authors: John E. Hanke, Dean Wichern

9th edition

132301202, 978-0132301206

More Books

Students also viewed these Computer Engineering questions