Random Numbers Beta

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

Random Numbers Beta

Post by Bohlin L »

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: 372
Joined: 7 years ago

Re: Random Numbers Beta

Post by Fred »

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