R: Finds the underlying bivariate normal correlation given the...
corr.nn4pp
R Documentation
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
Correlation of underlying bivariate normal data.
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
## Not run:
corr.nn4pp(0.05, 0.02, 0.34)
## End(Not run)