Re: [R] how can generate from trunceted gamma distribution in R ?

2009-12-14 Thread Peter Ruckdeschel
Duncan Murdoch wrote: On 11/12/2009 7:12 AM, khaz...@ceremade.dauphine.fr wrote: Hi, all How can generate a sample from truncated inverse gamma distribution in R? Using the inverse CDF method or rejection sampling are possible, depending on what your truncation is like. If your

[R] how can generate from trunceted gamma distribution in R ?

2009-12-11 Thread khazaei
Hi, all How can generate a sample from truncated inverse gamma distribution in R? thanks __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html

Re: [R] how can generate from trunceted gamma distribution in R ?

2009-12-11 Thread Greg Snow
Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- project.org] On Behalf Of khaz...@ceremade.dauphine.fr Sent: Friday, December 11, 2009 5:12 AM To: r-help@r-project.org Subject: [R] how can generate from trunceted gamma distribution in R ? Hi, all How can generate

Re: [R] how can generate from trunceted gamma distribution in R ?

2009-12-11 Thread Duncan Murdoch
On 11/12/2009 7:12 AM, khaz...@ceremade.dauphine.fr wrote: Hi, all How can generate a sample from truncated inverse gamma distribution in R? Using the inverse CDF method or rejection sampling are possible, depending on what your truncation is like. If your truncation forces the