JWright.crit | R Documentation |
This function runs a simulation to calculate the critical values of the joint versions of Wright's tests.
JWright.crit(n, kvec, nit)
n |
sample size |
kvec |
holding period vector |
nit |
number of iterations |
Holding.Period |
holding period used |
JR1.crit |
Critical values for the joint R1 statistic |
JR2.crit |
Critical values for the joint R2 statistic |
JS1.crit |
Critical values for the joint S1 statistic |
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.
kvec <- c(2,5,10)
JWright.crit(n=100,kvec,nit=50)
# nit is set to 50 for fast execution in the example.
# nit=10000 is recommended as in Wright (2000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.