Re: [R] Gamma parametrization

2010-03-22 Thread Randall Wrong
Thank you very much Jay. 2010/3/19 G. Jay Kerns > Dear Randall, > > On Fri, Mar 19, 2010 at 10:24 AM, Randall Wrong > wrote: > > Dear R users, > > > > ?rgamma gives me : > > > > rgamma(n, shape, rate = 1, scale = 1/rate) > > > > rate: an alternative way to specify th

Re: [R] Gamma parametrization

2010-03-19 Thread G. Jay Kerns
Dear Randall, On Fri, Mar 19, 2010 at 10:24 AM, Randall Wrong wrote: > Dear R users, > > ?rgamma gives me : > >               rgamma(n, shape, rate = 1, scale = 1/rate) > >               rate: an alternative way to specify the scale. > >               The Gamma distribution with parameters ‘shape

[R] Gamma parametrization

2010-03-19 Thread Randall Wrong
Dear R users, ?rgamma gives me : rgamma(n, shape, rate = 1, scale = 1/rate) rate: an alternative way to specify the scale. The Gamma distribution with parameters ‘shape’ = a and ‘scale’ = s has density f(x)= 1/(s^a Gamma