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
How to simulate a Raleigh distribution with a Weibull one
-
- Senior Member
- Posts: 102
- Joined: Wed Jul 30, 2014 7:09 am
- Vensim version: PLE
-
- Super Administrator
- Posts: 4589
- Joined: Wed Mar 05, 2003 3:10 am
Re: How to simulate a Raleigh distribution with a Weibull one
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
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
-
- 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
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
Lorenzo
-
- Super Administrator
- Posts: 4589
- Joined: Wed Mar 05, 2003 3:10 am
Re: How to simulate a Raleigh distribution with a Weibull one
"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.
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
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Re: How to simulate a Raleigh distribution with a Weibull one
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.
For all the functions, the result is essentially
y = shift + stretch*x
where x is some kind of standard version of the distribution.
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/