PoisBinOrdNor (version 1.6.1)

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
# NOT RUN {
corr.nn4pn(0.5, 0.32)
# }

Run the code above in your browser using DataCamp Workspace