validation.range {BinNor} | R Documentation |
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)
no.bin |
Number of binary variables |
no.nor |
Number of normal variables |
prop.vec.bin |
Probability vector for binary variables |
corr.mat |
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)