validation.range {BinNor}R Documentation

Checks if the correlation terms are within the feasible range

Description

This function checks if there are correlation range violations among binary-binary, binary-normal and normal-normal combinations.

Usage

validation.range(no.bin, no.nor, prop.vec.bin = NULL, corr.mat)

Arguments

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

Examples

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)

[Package BinNor version 2.3.3 Index]