0
$\begingroup$

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

Thanks,

$\endgroup$

2 Answers 2

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$
0
$\begingroup$

This article, "Gamma random field simulation by a covariance matrix transformation method " (https://link.springer.com/article/10.1007%252Fs00477-010-0434-8), should help you.

$\endgroup$
2
  • 1
    $\begingroup$ Please add the reference of the paper in case the link dies in the future. Thanks! $\endgroup$
    – Antoine
    Apr 9, 2021 at 10:21
  • 1
    $\begingroup$ And if possible, provide a brief summary of how the paper is helpful here $\endgroup$
    – Antoine
    Apr 9, 2021 at 10:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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