Joint.Wright | R Documentation |
This function returns joint or multiple version of Wright's rank and sign tests. The test takes the maximum value of the individual rank or sign tests, in the same manner as Chow-Denning test
Joint.Wright(y, kvec)
y |
a vector of time series, typically financial return |
kvec |
a vector of holding periods |
Holding.Period |
holding periods used |
JR1 |
Joint test based on R1 statistics |
JR2 |
Joint test based on R2 statistics |
JS1 |
Joint test based on S1 statistics |
Jae H. Kim
Belaire-Franch G, Contreras D. Ranks and signs-based multiple variance ratio tests, Working paper, University of Valencia 2004.
Kim, J. H. and Shamsuddin, A., 2008, Are Asian Stock Markets Efficient? Evidence from New Multiple Variance Ratio Tests, Journal of Empirical Fiance 15(8), 518-532.
data(exrates)
y <- exrates$ca
nob <- length(y)
r <- log(y[2:nob])-log(y[1:(nob-1)])
kvec <- c(2,5,10)
Joint.Wright(r,kvec)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.