[R] Inverse gamma

Patrick Wang pwang at berkeley.edu
Fri May 18 07:10:26 CEST 2007


Hi, All:

assume I need to generate X from inverse gamma with parameter (k, beta).

should I generate from Y from gamma(-k, beta),

then take X=1/Y?

Thanks
pat



More information about the R-help mailing list