Distributions in VL

Distributions in VL

Postby Jon » Wed Jul 30, 2014 2:33 pm


In Excel there is the GAMMA.DIST function. This evaluates a value X from a gamma distribution. You specify X, alpha, beta and whether you want to use the cumulative distribution or probability density function. In my case I want to use the cumulative distribution.

In Simul8 I want to use this exact function for survival analysis, however I'm not sure how to implement it within VL. This is because the particular distribution parameters are determined by the properties of the entities in my simul8 model.

It appears that the "distribution" function in Simul8 takes a random sample from a particular distribution, much like the gammainv() in Excel.

Is there a way to do this? Any help would be great.



Return to “SIMUL8 Cafe”