powered by
The function computes the lower and upper bounds for the target correlations based on the marginal rates.
Valid.correlation(no.pois, no.norm, lamvec)
Number of Poisson variables.
Number of normal variables.
A vector of marginal rates for Poisson variables.
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.
min
max
# NOT RUN { lamvec= c(0.05,0.07,0.09) Valid.correlation(no.pois=3, no.norm=3,lamvec) # }
Run the code above in your browser using DataLab