Last data update: 2014.03.03

R: Validates input correlation matrix
validation.CorrMatR Documentation

Validates input correlation matrix

Description

Checks symmetry, positive definiteness, conformity and range of the correlation matrix.

Usage

validation.CorrMat(prop.vec.bin, CorrMat)

Arguments

prop.vec.bin

Vector of binary (converted from ordinal) marginal probabilities

CorrMat

Correlation matrix to be validated

Details

This function checks the correlation matrix for basic properties of correlation matrix, such as symmetry and positive definiteness. In addition it verifies that all the correlations are in valid range for the calculated binary marginal probabilities. Range violation error message indicates that ordinal data with the specified correlations cannot be generated due to distributional constraints.

See Also

find.binary.prob

Results