Valid.correlation: Computes the lower and upper correlation bounds in the form...

Description Usage Arguments Details Examples

View source: R/Valid.correlation.R

Description

The function computes the lower and upper bounds for the target correlations based on the marginal rates.

Usage

1
Valid.correlation(no.pois, no.norm, lamvec)

Arguments

no.pois

Number of Poisson variables.

no.norm

Number of normal variables.

lamvec

A vector of marginal rates for Poisson variables.

Details

The function returns a list of two matrices. The min contains the lower bounds and the max contains the upper bounds of the feasible correlations.

Examples

1
2
lamvec= c(0.05,0.07,0.09)
Valid.correlation(no.pois=3, no.norm=3,lamvec)

PoisNor documentation built on March 22, 2021, 9:05 a.m.