Page 1 of 1

Random Number generation

Posted: Mon Sep 09, 2019 7:15 am
by mostafizceesust
I am trying to generate random number by exponential distribution. I need the parameters minimum, maximum, seed, shift, stretch. How can I calculate shift and stretch value from my data??? Please help me

Re: Random Number generation

Posted: Mon Sep 09, 2019 2:48 pm
by tomfid
The scale parameter determines the mean (assuming shift=0 and there is no truncation), and therefore is the inverse of the lambda parameter typically described for the distribution. The standard deviation equals the mean (variance = mean^2).

So, you could use shift=0 and scale=mean of your data.

See the sample model in the help system for implementation.