RDocumentation
Moon
Learn R
Search all packages and functions
PoisBinOrdNor (version 1.0)
corr.nn4pn: Finds the underlying bivariate normal correlation given the correlation for a count-normal pair.
Description
This function computes the underlying bivariate normal correlation given the specified correlation for a pair of count and normal variables.
Usage
corr.nn4pn(lam, PN.cor)
Arguments
lam
Rate parameter for the count variable.
PN.cor
Pre-specified correlation for a pair of count and normal variables.
Value
Correlation of underlying bivariate normal data.
Examples
Run this code
corr.nn4pn(
0.05
,
0.32
)
Run the code above in your browser using
DataLab