How to simulate a Raleigh distribution with a Weibull one

Use this forum to post Vensim related questions.
Post Reply
lorenzo.cioni
Senior Member
Posts: 102
Joined: Wed Jul 30, 2014 7:09 am
Vensim version: PLE

How to simulate a Raleigh distribution with a Weibull one

Post by lorenzo.cioni »

Hi to everybody.
If I am not wrong it is possible to use a Weibull distribution to replace a Rayleigh one, not available in Vensim, simply putting the shape parameter at 2 but what about the ather parameters in
RANDOM WEIBULL( {min} , {max} , {S} , {shift} , {stretch} , {seed} )
if I want that my distribution has an average value of 0.97?
Best regards and best wishes.
Lorenzo
Administrator
Super Administrator
Posts: 4589
Joined: Wed Mar 05, 2003 3:10 am

Re: How to simulate a Raleigh distribution with a Weibull one

Post by Administrator »

I'm not familiar with this, but it makes sense to me to use the stretch paramter as the mean.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391

Units are important!
http://www.bbc.co.uk/news/magazine-27509559
lorenzo.cioni
Senior Member
Posts: 102
Joined: Wed Jul 30, 2014 7:09 am
Vensim version: PLE

Re: How to simulate a Raleigh distribution with a Weibull one

Post by lorenzo.cioni »

Thank you for your reply. I thought I had to modify the shft paramenter instead... could you be so kind of telling me which are the precise meanings of the shift and stretch parameters? I find the Vensim documentation about these topics rather confusing, to say the less...
Lorenzo
Administrator
Super Administrator
Posts: 4589
Joined: Wed Mar 05, 2003 3:10 am

Re: How to simulate a Raleigh distribution with a Weibull one

Post by Administrator »

"shift" can be thought of as adding/subtracting a value from the distribution. Stretch can be thought of as a multiplier.

I'll raise the documentation as an issue as I agree, it's hard to understand.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391

Units are important!
http://www.bbc.co.uk/news/magazine-27509559
tomfid
Administrator
Posts: 3808
Joined: Wed May 24, 2006 4:54 am

Re: How to simulate a Raleigh distribution with a Weibull one

Post by tomfid »

I agree that the stretch parameter is the one to use.

For all the functions, the result is essentially
y = shift + stretch*x
where x is some kind of standard version of the distribution.
Post Reply