CT_Critical_Values {ConcordanceTest}  R Documentation 
Critical Values of the Concordance and KruskalWallis Tests
Description
This function computes the critical values and the pvalues for a desired significance levels of .10, .05 and .01. of the Concordance and KruskalWallis tests. Critical values and pvalues can be obtained exactly or by simulation (default option).
Usage
CT_Critical_Values(Sample_Sizes, Num_Sim = 10000, H = 0, verbose = TRUE)
Arguments
Sample_Sizes 
Numeric vector ( 
Num_Sim 
Number of simulations in order to obtain the probability distribution of the statistics. The default is 10000. If set to 0, the critical values and the pvalues are obtained exactly. Otherwise they are obtained by simulation. 
H 
0 by default. If set to 1, the critical values and the pvalues of the KruskalWallis test are also calculated and returned. 
verbose 
A logical indicating if some "progress report" of the simulations should be given. The default is TRUE. 
Value
The function returns a list with the following elements:

C_results
: Concordance coefficient results. Critical values and pvalues for a desired significance levels of 0.1, .05 and .01. 
H_results
: KruskalWallis results. Critical values and pvalues for a desired significance levels of 0.1, .05 and .01 (only if H = 1).
Warning
The computational time in exact calculations increases exponentially with the number of elements and with the number of sets.
Examples
Sample_Sizes < c(3,3,3)
CT_Critical_Values(Sample_Sizes, Num_Sim = 0, H = 1)
CT_Critical_Values(Sample_Sizes, Num_Sim = 1000, H = 1)