[R] Inverse gamma

From: Patrick Wang <pwang_at_berkeley.edu>
Date: Thu, 17 May 2007 22:10:26 -0700 (PDT)

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?


R-help_at_stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 18 May 2007 - 05:16:20 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 18 May 2007 - 12:31:32 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.