3
$\begingroup$

As the title describes, I want to conduct a random walk analysis of a univariate time series $Y_t$. What are the tests and steps that you guys would suggest for this purpose?

My current thinking:

  1. Analyse the autocorrelation of the changes $u_t=Y_t-Y_{t-1}$ with Ljung-Box test. Here, for different $q$'s (amount of lags considered), rejection and non-rejection of the autocorrelation changes and I am not quite sure how to interpret this.

  2. Second, I want to conduct an Augmented Dickey-Fuller test to test for a unit root of $Y_t$. In this context, I want to do a separrate analysis for the optimal amount of lags considered in the ADF equation. In this separrate analysis I determine the amount of lags that induces whiteness in the regression residuals. For this purpose, I am using Breusch-Godfrey's test. The reason for this additional analysis is because I want to argue that if BG test suggests that further lags are needed for residual whiteness, it is not just a random walk, even though we are not able to reject the null hypothesis of a unit root because the power of the ADF is very small if the coefficient is close to 1. Here, I have the same problem of an appropriate choice of the number of lages residuals considered in the auxiliary regression of the BG test. The resulting decision about residual whiteness is influenced by it a lot.

  3. Third, I want to conduct a variance ratio test. A friend of mine told me that the variance ratio test is an analysis that tests the hypothesis that the elements of $u_t$ are not only serially uncorrelated but also independent. I don't really understand where this hypothesis comes from. Shouldn't uncorrelation be enough for the linear variance increase that is analysed with a variance ratio test?

Edit: Maybe I should give more background: In the context of testing market efficiency I want to test whether a certain serious fulfills the martingale property. However, the martingale property of mean independence is not testable straight forward (Not sure about that, but most literature switches to random walk testing in context of weak market efficiency). As a random walk with i.i.d innovations also implies a martingale, I switched to testing for that as a "sufficient condition" for the series to exhibit the martingale property.

Any opinions or suggestions would be great.

$\endgroup$
6
  • $\begingroup$ The variance ratio test seemingly tests if the variances over 2 periods are equal. So for independence it is necessary that the variance is also equal across the board. $\endgroup$
    – spdrnl
    Commented Jun 23, 2021 at 18:43
  • 1
    $\begingroup$ Could you explain what a "random walk analysis" is? $\endgroup$
    – whuber
    Commented Jun 23, 2021 at 18:52
  • $\begingroup$ Testing whether the underlying time series exhibits random walk properties. $\endgroup$
    – J3lackkyy
    Commented Jun 23, 2021 at 21:08
  • 1
    $\begingroup$ Right--one would presume that. But exactly which properties do you want to test? What precisely is your null hypothesis and what alternative hypothesis do you intend to use? $\endgroup$
    – whuber
    Commented Jun 23, 2021 at 22:22
  • $\begingroup$ @whuber, That is kind of my question to you. Maybe I should give more background: In the context of testing market efficiency I want to test whether a certain serious fulfills the martingale property. However, the martingale property of mean independence is not testable straight forward. As a random walk with i.i.d innovations also implies a martingale, I switched to testing for that as a "sufficient condition" for the series to exhibit the martingale property. $\endgroup$
    – J3lackkyy
    Commented Jun 24, 2021 at 5:39

2 Answers 2

2
$\begingroup$

I am not an expert in this field but this topic is heavily discussed in finance literature, i.e. testing whether asset prices follow a random walk, are asset prices predictable ? etc. So the methods applied there should be useful for your analysis too.

Here are some tests which are often used in finance literature: CJ-test, Runs test, Ljung-Box test, Variance Ratio test.

Campbell, Lo and Mackinlay (1997) „The Econometrics of Financial Markets“ is a great reference for a detailed discussion of this topic with an application to finance. Also the tests mentioned above are discussed in detail.

$\endgroup$
1
  • 1
    $\begingroup$ Even though I haven't mentioned it in the question, you kind of guessed the underlying question of my problem. The book that you recommenced contains exactly what I was looking for. Thank you very much! $\endgroup$
    – J3lackkyy
    Commented Jun 24, 2021 at 5:45
4
$\begingroup$

The most basic property of a random walk is that its increments are IID random variables, which means that they are exchangeable. I would start there, and use some kind of "runs test" on the increments to test the null hypothesis that they are exchangeable against the alternative hypothesis that they are not. This is preferable to an auto-correlation test in my view, because it tests for the broader property of exchangeability, rather than messing around only with the second moment.

The other main property of the random walk is that that its increments have zero mean. This is easy to test using a standard T-test, or any other reasonable test of a stipulated mean value. In the comments, whuber notes a third property as being a finite second moment. I don't consider that an essential property of the concept, so I wouldn't bother testing it, but you should consider whether you regard this as an important property to test. If you want to test for a finite second variance then you can use a "tail plot" and various corresponding tests that look at the rate of decay in the tails.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.