0
$\begingroup$

I have to generate multivariate gamma distributions with given positive-definite covariance matrix. Anyone can suggest me a method?

Thanks,

$\endgroup$
1
$\begingroup$
library(clusterGeneration)
genPositiveDefMat(dim,...) #Where  dim is the dimension of the matrix, explore the   #function  

You can now use any package that will generate a multivariate gamma in R using the positive definite matrix above.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.