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,773


0



Thanks for your prompt reply.

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

Huihui

Your Answer

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;
0

Thanks for your prompt reply.

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

Huihui


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.