Description Usage Arguments Value References Examples
View source: R/CmatStarGpois.R
CmatStarGpois
computes an intermediate correlation matrix that will be used to obtain
the target correlation matrix using the inverse CDF transformation method in GenMVGpois
.
If the intermediate correlation matrix is not positive definite, the nearest positive definite
matrix is used.
1 | CmatStarGpois(corMat, theta.vec, lambda.vec, verbose = TRUE)
|
corMat |
target correlation matrix. |
theta.vec |
rate parameters in the generalized Poisson distribution. It is assumed that the length of the vector is at least two, and each value has to be a positive number. |
lambda.vec |
dispersion parameters in the generalized Poisson distribution. It is assumed that the length of the vector is at least two. All lambda values have to be less than 1. For lambda < 0, lambda must be greater than or equal to -theta/4. |
verbose |
logical variable that determines whether to display the traces. Default is set to TRUE. |
Intermediate correlation matrix.
Yahav, I. and Shmueli, G. (2012). On generating multivariate Poisson data in management science applications. Applied Stochastic Models in Business and Industry, 28(1), 91-102.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.