OrdNor-package: Concurrently generates ordinal and normal variables with a...

Description Details Author(s)

Description

The package implements a procedure for concurrently generating samples from ordinal and normal random variables with a pre-specified correlation matrix and marginal distributions. It is accomplished by first calculating an intermediate correlations (cmat.star) which is used to generate a sample from multivariate normal distribution. Then, the first few components (corresponding to number of ordinal variables) are ordinalized. The resulting data are composed of a mixture of ordinal and normal variables that conform with a pre-specified marginal distributions and correlation structure. The function valid.limits returns the lower and upper bounds of the correlation coefficients of ordinal-ordinal (OO) and ordinal-normal (ON) pairs given their marginal distributions, i.e. returns the range of feasible pairwise correlations. The function validate.target.cormat checks the validity of the values of pairwise correlations. Additionally, it checks positive definitiveness, symmetry and correct dimension. The engine function genOrdNor generates mixed data in accordance with the specified marginal and correlational quantities.

Details

Package: OrdNor
Type: Package
Version: 2.2.3
Date: 2021-03-05
License: GPL

Author(s)

Anup Amatya, Hakan Demirtas, Ran Gao

Maintainer: Ran Gao <rgao8@uic.edu>


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