DL.test | R Documentation |
Dominguez-Lobato Test
DL.test(y,B,p)
y |
financial return time series |
B |
the number of bootstrap iterations, the default is 300 |
p |
the lag value, the default is 1 |
Cp |
Cramer von Mises test statistic |
Kp |
Kolmogorov-Smirnov test statistic |
Cp_pval |
wild bootstrap p-value of the Cp test |
Kp_pval |
wild bootstrap p-value of the Kp test |
Jae H. Kim
Domingues M.A. and Lobato, I. N., 2003, Testing the Martingale Difference Hypothesis, Econometrics Reviews, 22, p351-377.
Charles, A. Darne, O. Kim, J.H. 2011, Small Sample Proeprties of Alternative Tests for Martingale Difference Hypothesis, Economics Letters, 110(2), 151-154.
r <- rnorm(50)
DL.test(r,B=100)
# B=100 is used for fast execution in the example.
# Use a higher number in actual application
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.