Re: Gamma Random numbers [message #30576] |
Tue, 07 May 2002 18:58 |
Craig Markwardt
Messages: 1869 Registered: November 1996
|
Senior Member |
|
|
hkc <"hkc"@ariel.met.tamu.edu> writes:
> i need a code for the random numbers generating function of the GAMMA
> distribution. IDL5.5. has a similar functions, but it uses only one
> variable, shape paramter. I want a code usign two variables, shape and
> scale parameters.
I think you just multiply the deviate by the scale parameter, right?
See beautiful on-line book here:
http://www.itl.nist.gov/div898/handbook/eda/section3/eda366b .htm
Craig
--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
|
|
|