Test random Walk

For econometric discussions not necessarily related to EViews.

Moderators: EViews Gareth, EViews Moderator

diego45
Posts: 12
Joined: Tue Nov 13, 2012 7:22 am

Test random Walk

Postby diego45 » Fri Dec 14, 2012 3:13 am

Hi everybody

I would like to test that stock market price follow a random walk.

So i did stochastic calculus and i saw that a random walk with a drift could be written like that :

Yt = Y0 + b.dt + o.dWt ...

Where b.dt is the drift
and dWt is wienner or brownien process

So in eviews if i generate x = nrnd

and i regress

DYt = c + x

And that coefficient aren't significant and my residual are white noise is it a random walk or i did a mystake in the procedure ?

thanks

startz
Non-normality and collinearity are NOT problems!
Posts: 3796
Joined: Wed Sep 17, 2008 2:25 pm

Re: Test random Walk

Postby startz » Fri Dec 14, 2012 8:17 am

You probably want to learn about testing for unit roots.

diego45
Posts: 12
Joined: Tue Nov 13, 2012 7:22 am

Re: Test random Walk

Postby diego45 » Fri Dec 14, 2012 8:25 am

no i have done the dick fuhler test and their is a unit root

Sont i cant regress Pt = Pt-1 + ut

due to the presence of this unit root ?

startz
Non-normality and collinearity are NOT problems!
Posts: 3796
Joined: Wed Sep 17, 2008 2:25 pm

Re: Test random Walk

Postby startz » Fri Dec 14, 2012 9:05 am

Your test shows that stock prices have a unit root. That's not quite the same as saying stock prices follow a random walk, but it's close.
Maybe you could tell us more about what you're trying to do.

diego45
Posts: 12
Joined: Tue Nov 13, 2012 7:22 am

Re: Test random Walk

Postby diego45 » Sun Dec 23, 2012 9:04 am

Thanks for answer.

I want to test if use technical analysis to forecast price is a good way.

In fact ii i find that their is a random walk i'm sure that technical analysis bring nothing the analyst.
If i found that their is not random walk and if i find that their is serial-correlation between past and day price that i could use technical analysis.
I have found a study that show their is correlation between past and day price but using 1 price per each quarter during 22 years .

startz
Non-normality and collinearity are NOT problems!
Posts: 3796
Joined: Wed Sep 17, 2008 2:25 pm

Re: Test random Walk

Postby startz » Sun Dec 23, 2012 10:02 am

You might define the left hand side variable as the return, dlog(p), and see if you can find varibles that help predict that.


Return to “Econometric Discussions”

Who is online

Users browsing this forum: No registered users and 2 guests