How to estimate a random walk model?
Posted: Sun Dec 21, 2008 10:57 am
anyone who knows this stuff plz help me....
thank you for your help... I have followed your instructions both first and second and with your second instructions I have estimated this equation for 82 data (which are a stock's prices)anyone who knows this stuff plz help me....
so is this coefficient p for this equation?
The residuals of this regression (u(t)) are stored in the workfile as resid after each estimation. Besides, you can retrieve the residuals of an estimated equation any time from within the equation dialog box (Proc/Make Residual Series).is it possible to see exact ut s ?
If you conclude that Yt follows a random walk, then it means the future values are not predictable. What you can do is simulate its values (generating scenarios), since you know the statistical properties of the residuals (ut). And yes, you can do all these in EViews as long as you study the manual and become more familiar with EViews' features...I mean is it possible to form an exact model for stock's next price via ewievs??
Here is my question about the above reply.The correct form would be Yt-Yt-1 = (p-1)Yt-1 + ut. If the coefficient (p-1) is insignificant, then it means that the original series Yt follows a random walk. In EViews terms, you can type your equation as d(Y) = c(1)*Y(-1) in the estimate equation dialog box. Here the coefficient (c(1)) is exactly what you are looking for (p-1).
Trubador, this isn't really right. Estimates of Yt = pYt-1 + ut and Yt-Yt-1 = (p-1)Yt-1 + ut are econometrically identical except for the -1 factor.That equation (Yt = pYt-1 + ut) might lead to spurious results, if the dependent variable is not stationary. And it might also be the case in your equation, since you are using price data. Therefore, the equation you are trying to estimate should be modified beforehand. The correct form would be Yt-Yt-1 = (p-1)Yt-1 + ut. If the coefficient (p-1) is insignificant, then it means that the original series Yt follows a random walk. In EViews terms, you can type your equation as d(Y) = c(1)*Y(-1) in the estimate equation dialog box. Here the coefficient (c(1)) is exactly what you are looking for (p-1).
The intuition is right, but the details are wrong. The best forecast of the price at t+1 is the price at t plus the drift term. (and Fama was 11 years old in 1950)thank you for your help. I think I got it know. the process we are talking about testing, testing a random walk process. If the market is strong effective stock prices follow a random walk so It is not possible to predict expected price what Fama said in 1950......
why except for the -1 factor?Trubador, this isn't really right. Estimates of Yt = pYt-1 + ut and Yt-Yt-1 = (p-1)Yt-1 + ut are econometrically identical except for the -1 factor.
I could have been more clear. As you suggest, you get the same value for p. I just meant thatwhy except for the -1 factor?Trubador, this isn't really right. Estimates of Yt = pYt-1 + ut and Yt-Yt-1 = (p-1)Yt-1 + ut are econometrically identical except for the -1 factor.
Yt-Yt-1 = (p-1)Yt-1 + ut
Yt-Yt-1 = pYt-1Yt-1 + ut
Yt = pYt-1 + ut
Code: Select all
ls d(y) y(-1)Code: Select all
ls y y(-1)