Re: Gnumeric simulation functions



All you need is to take the inverse of the cdf on a uniform [0,1] random
number.  That's true for any continious distribution.

For the triangular one, it looks like G(p) from
    http://www.brighton-webs.co.uk/distributions/triangular.asp
will work.  Math not checked.

M.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]