Adding stochasticity to variable from .dat file

Use this forum to post Vensim related questions.
Post Reply
UniSheep
Newbie
Posts: 1
Joined: Fri Aug 20, 2010 1:15 am

Adding stochasticity to variable from .dat file

Post by UniSheep »

Hi people,

We are new to Vensim and would like to add stochasticity to an existing rainfall data file. We imported the rainfall data with a .dat file and would like to make it random ...

Anyone having any ideas for us ? ... Would be great!

Thank you ...
bob@vensim.com
Senior Member
Posts: 1107
Joined: Wed Mar 12, 2003 2:46 pm

Post by bob@vensim.com »

You can simply use one of the random functions as in

rainfall = rainfall data + RANDOM NORMAL(-rainfall normal,1e9,0,noise standard deviation,0)

then use rainfall wherever your previous variable was used.
tomfid
Administrator
Posts: 3811
Joined: Wed May 24, 2006 4:54 am

Post by tomfid »

There was a related thread, with examples, a few months ago.
http://www.ventanasystems.co.uk/forum/v ... php?t=4045

Another option would be to take your data, look at its distribution, and then use RANDOM LOOKUP to replicate that. There's probably a lot of autocorrelation at various scales, and seasonality, so you'd have to think about that as well.

Tom
Post Reply