validation.range: Checks if the correlation terms are within the feasible range

Description Usage Arguments Examples

View source: R/validation.range.R

Description

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

Usage

1
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

1
2
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)

BinNor documentation built on March 6, 2021, 1:08 a.m.