PoisBinOrdNor (version 1.2)

corr.nn4pp: Finds the underlying bivariate normal correlation given the correlation for a pair of count variables.

Description

This function computes the underlying bivariate normal correlation given the specified correlation for a pair of count variables.

Usage

corr.nn4pp(lambda1, lambda2, PP.cor)

Arguments

lambda1
Rate parameter for the first count variable.
lambda2
Rate parameter for the second count variable.
PP.cor
Pre-specified correlation for a pair of count variables.

Value

References

Amatya, A. & Demirtas, H. (2015). Simultaneous generation of multivariate mixed data with Poisson and normal marginals. Journal of Statistical Computation and Simulation, 85(15), 3129-3139.

Examples

Run this code
## Not run: 
# corr.nn4pp(0.05, 0.02, 0.34)
# ## End(Not run)

Run the code above in your browser using DataCamp Workspace