Random Numbers Beta

Problems with syntax of GAMS
Post Reply
Bohlin L
User
User
Posts: 1
Joined: 3 months ago

Random Numbers Beta

Post by Bohlin L » 3 months ago

I need to draw some random numbers and for some of them I want them to be drawn from the Beta distribution. In McCarl i found how to draw random variables from other distributions such as the binomial, the uniform and the normal. But I did not find any command for drawing random numbers from the Beta distributions.

Fred
Posts: 242
Joined: 4 years ago

Re: Random Numbers Beta

Post by Fred » 3 months ago

Hi,

GAMS comes with a stochastic library that allows you draw random numbers from the beta distribution: https://www.gams.com/latest/docs/UG_Ext ... ticLibrary

I hope this helps!

Fred

Post Reply