powered by
This function returns critical values of Wright's tests based on the simulation method detailed in Wright (2000)
Wright.crit(n, k, nit)
holding period used
Critical values for the R1 statistic
Critical values for the R2 statistic
Critical values for the S1 statistic
sample size
holding period, a scalar
number of iterations
Jae H. Kim
WRIGHT,J.H.,2000,Alternative Variance-Ratio Tests Using Ranks and Signs, Journal of Business & Economic Statistics, 18, 1-9.
Wright.crit(n=10,k=2,nit=50) # nit is set to 50 for fast execution in the example. # nit=10000 is recommended as in Wright (2000)
Run the code above in your browser using DataLab