powered by
This function checks if there are correlation range violations among binary-binary, binary-normal and normal-normal combinations.
validation.range(no.bin, no.nor, prop.vec.bin = NULL, corr.mat)
Number of binary variables
Number of normal variables
Probability vector for binary variables
Specified correlation matrix
cmat=lower.tri.to.corr.mat(corr.vec=c(0.16,0.04,0.38,0.4,0.47,0.68),4) validation.range(no.bin=2, no.nor=2, prop.vec.bin=c(0.4,0.7), corr.mat=cmat)
Run the code above in your browser using DataLab