PoisNonNor-package {PoisNonNor}R Documentation

Simultaneous generation of count and continuous data with Poisson and continuous marginals

Description

A package for simulating multivariate data with count and continuous variables with a pre-specified correlation matrix and marginal distributions. The count variables are assumed to have Poisson distribution, and continuous variables can take any shape that is allowed by the Fleishman polynomials. This mixed data generation scheme is a combination of the normal to anything principle for the count part, and multivariate continuous data generation mechanism via the Fleishman polynomials.

Details

Package: PoisNonNor
Type: Package
Version: 1.6.3
Date: 2021-03-21
License: GPL-2 | GPL-3

This package consists of eleven functions.

The functions bounds.corr.GSC.NN, bounds.corr.GSC.NNP, and bounds.corr.GSC.PP return the lower and upper bounds of the pairwise correlation of continuous-continuous, continuous-count, and count-count pairs, respectively. The function Validate.correlation validates the specified quantities to avoid obvious correlation matrix specification errors in regarding to the correlation matrix. The functions intercor.NN, intercor.NNP, and intercor.PP give the intermediate normal correlation matrix for continuous-continuous, continuous-count, and count-count combinations, respectively. The function intercor.all returns the final intermediate correlation matrix by combining the three parts of correlation together. The function Param.fleishman calculates the Fleishman coefficient. The engine function RNG.P.NN generates mixed data in accordance with the specified marginal and correlation matrix.

n1, n2, and n=n1+n2 stand for the number of count, continuous, and the total number of the variables, respectively. By design, the first n1 variables are count, and the last n2 variables are continuous in the generated data matrix.

Author(s)

Hakan Demirtas, Yaru Shi, Rawan Allozi, Ran Gao

Maintainer: Ran Gao <rgao8@uic.edu>

References

Amatya, A. and Demirtas, H. (2017). PoisNor: An R package for generation of multivariate data with Poisson and normal marginals. Communications in Statistics–Simulation and Computation, 46(3), 2241-2253.

Demirtas, H., Hedeker, D. and Mermelstein, R.J. (2012). Simulation of massive public health data by power polynomials. Statistics in Medicine, 31(27), 3337-3346.

Fleishman A.I. (1978). A method for simulating non-normal distributions. Psychometrika, 43(4), 521-532.

Vale, C.D. and Maurelli, V.A. (1983). Simulating multivariate nonnormal distributions. Psychometrika, 48(3), 465-471.


[Package PoisNonNor version 1.6.3 Index]