Generate Gumbel Distribution Random Variable

Hi there. What would be the easiest way to generate random variables following Gumbel Distribution in Gauss?

And how about truncated Gumbel Distribution?

Thanks.

Huihui

2 Answers



0



The easiest way to create Gumbel random numbers would be with the GAUSS function rndGumbel. rndGumbel uses the definition of the Gumbel distribution that corresponds to the minimum extreme. The expected value of the numbers generated by this function is:

E(x) = location - 0.5772*scale

the variance is:

Var(x) = (π2 * scale2)/6;

aptech

1,503


0



Thanks for your prompt reply.

What about truncated Gumbel? For example, Gumbel distribution with upper bound?

Huihui

Your Answer


You must login to post answers.

Have a Specific Question?

Get a real answer from a real person

Need Support?

Get help from our friendly experts.

Try GAUSS for 30 days for FREE

See what GAUSS can do for your data

© Aptech Systems, Inc. All rights reserved.

Privacy Policy