Valid.correlation {PoisNor} | R Documentation |
Computes the lower and upper correlation bounds in the form of two matrices
Description
The function computes the lower and upper bounds for the target correlations based on the marginal rates.
Usage
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
lamvec= c(0.05,0.07,0.09)
Valid.correlation(no.pois=3, no.norm=3,lamvec)
[Package PoisNor version 1.3.3 Index]