powered by
See equation (15) of Chen and Deo (2006)
Chen.Deo(x, kvec)
holding periods used
the sum of (power transformed individual VR - 1)
QPn statistic
Chi-square critical values
a vector of time series, typically financial return
a vector of holding periods
Jae H. Kim
Chen, W. W., and Deo, R.S., 2006, The Variance Ratio Statistic at Large Horizons, Econometric Theory, 22, 206-234.
data(exrates) y <- exrates$ca nob <- length(y) r <- log(y[2:nob])-log(y[1:(nob-1)]) kvec <- c(2,5,10) Chen.Deo(r,kvec)
Run the code above in your browser using DataLab