Search found 22 matches

by rodrigo?solis
Tue Aug 18, 2020 9:42 pm
Forum: Vensim
Topic: Problem with MCMC posterior sampling
Replies: 11
Views: 5535

Re: Problem with MCMC posterior sampling

Hey Tom, Thanks for the tips, I will correct the prior payoff as you recommend. Regarding the VOC file, I am sorry, I sent you the file already updated with your previous recommendation (log-transforming some of my parameters). So the range you see is Log (OW Density). I will run the MCMC now with t...
by rodrigo?solis
Sun Aug 16, 2020 3:54 am
Forum: Vensim
Topic: Problem with MCMC posterior sampling
Replies: 11
Views: 5535

Re: Problem with MCMC posterior sampling

OK, thanks. I will try using log-transform. Also, I just emailed you the files of the model.

Thanks a lot for your rime
by rodrigo?solis
Sat Aug 15, 2020 8:48 pm
Forum: Vensim
Topic: Problem with MCMC posterior sampling
Replies: 11
Views: 5535

Re: Problem with MCMC posterior sampling

By the way: The convergence metrics with that odd-looking posterior sampling seem to be very good
by rodrigo?solis
Sat Aug 15, 2020 8:11 pm
Forum: Vensim
Topic: Problem with MCMC posterior sampling
Replies: 11
Views: 5535

Re: Problem with MCMC posterior sampling

Hi Tom, Thanks for your reply. This is an updated version of a model that I already shared with you in the past (Monarch Butterfly). It seems that the xlsx file with all my external data is too large to upload here. could you provide me with an email to send you that file please? And yes, it seems t...
by rodrigo?solis
Sat Aug 15, 2020 3:56 pm
Forum: Vensim
Topic: Problem with MCMC posterior sampling
Replies: 11
Views: 5535

Problem with MCMC posterior sampling

Hi, I have been running a model through MCMC to obtain the posterior distribution of 7 parameters. The problem is that, if I set an upper and lower limit for the search range of the parameter, for example: 10<=Temperature<=50 the posterior seems to be getting 'artificially' oversampled in those limi...
by rodrigo?solis
Mon Apr 20, 2020 8:17 pm
Forum: Vensim
Topic: Help with usage of MCMC
Replies: 11
Views: 6330

Re: Help with usage of MCMC

Hey Tom, I already ran sims with and without annealing, and with and without the burn-in period, but I still see the same; as soon as the samples begin to get drawn, the stats move from an almost-ideal position to an awful one. I also made some runs with SA and making sure that temp goes down to 1 b...
by rodrigo?solis
Mon Apr 20, 2020 2:18 am
Forum: Vensim
Topic: Help with usage of MCMC
Replies: 11
Views: 6330

Re: Help with usage of MCMC

Hi Tom, I followed all your recommendations and things are starting to look considerably better. However, there is a very odd problem that I cannot wrap my head around and it is impeding me to get my posterior samples. The thing is that the Acceptance Rate, Max PSRF, and CMCP are right on their idea...
by rodrigo?solis
Sat Apr 18, 2020 7:08 pm
Forum: Vensim
Topic: Help with usage of MCMC
Replies: 11
Views: 6330

Re: Help with usage of MCMC

Thank you so much Tom. That makes a lot of sense!.

Hopefully, this will make everything run soft and smooth.

I hope you don't mind if I get back in touch with you if I come with any problems (hopefully not)

Thanks and stay safe!
by rodrigo?solis
Fri Apr 17, 2020 10:19 pm
Forum: Vensim
Topic: Help with usage of MCMC
Replies: 11
Views: 6330

Re: Help with usage of MCMC

Excelllent, I'll do that.

I am not sure why the files didn't get attached

Here they are again

Thanks!
2.zip
(1.21 MiB) Downloaded 213 times
1.zip
(74.81 KiB) Downloaded 208 times
by rodrigo?solis
Fri Apr 17, 2020 10:02 pm
Forum: Vensim
Topic: Help with usage of MCMC
Replies: 11
Views: 6330

Re: Help with usage of MCMC

Hi Tom, Thank you so much for your reply. I checked the reading that you suggested to me over the FB page (Optimization and the Banana of Death) which gave me the idea of trying to use simulated annealing. I just started the sims 30 mins ago but it seems that it is moving in the right direction. I t...
by rodrigo?solis
Fri Apr 17, 2020 8:01 pm
Forum: Vensim
Topic: Help with usage of MCMC
Replies: 11
Views: 6330

Help with usage of MCMC

Hello everyone, I hope you are doing fine and safe. I am working with a VENSIM model of the Monarch Butterfly and want to get the uncertainty of 6 estimated parms in the model using MCMC posterior sampling. This is the first time that I use VENSIM's MCMC and I am having trouble reaching convergence....
by rodrigo?solis
Thu Apr 02, 2020 9:39 pm
Forum: Vensim
Topic: Use of MCMC
Replies: 5
Views: 3743

Re: Use of MCMC

Excellent. thank you so much. I am looking forward to your input. Meanwhile, I'll run it as is and will share my posteriors once it is done. Thanks!
by rodrigo?solis
Thu Apr 02, 2020 6:02 pm
Forum: Vensim
Topic: Use of MCMC
Replies: 5
Views: 3743

Re: Use of MCMC

Thanks a lot for your answer Tom, and no worries at all about the delay! I really appreciate your response. Based on your reply here and the Weibull model that you replied in this thread https://www.ventanasystems.co.uk/forum/viewtopic.php?f=2&t=5428&p=20730&hilit=mcmc#p20730 , I added a...
by rodrigo?solis
Tue Mar 31, 2020 3:04 am
Forum: Vensim
Topic: Use of MCMC
Replies: 5
Views: 3743

Re: Use of MCMC

Hi, hopefully, someone can answer this question soon
by rodrigo?solis
Thu Mar 26, 2020 6:54 pm
Forum: Vensim
Topic: Use of MCMC
Replies: 5
Views: 3743

Use of MCMC

Hi, I am just starting to explore the MCMC options in VENSIM, but I have several questions and hopefully, I can get some help here: 1.- How to input priors? I just don't see where I can specify the distribution of my priors. I am supposing that, by using the search limits in the optimization options...
by rodrigo?solis
Thu Mar 26, 2020 6:30 pm
Forum: Vensim
Topic: Coupling R with VENSIM
Replies: 5
Views: 3846

Re: Coupling R with VENSIM

Hi Tom, I explored a lot of avenues on how to dynamically coupling R with VENSIM, but I couldn't find the way. I am sure there's a way, but maybe my limited programming knowledge is not helping. A good thing is that I noticed that I can do exactly what I wanted to do from within VENSIM without the n...
by rodrigo?solis
Fri Mar 20, 2020 6:43 pm
Forum: Vensim
Topic: Coupling R with VENSIM
Replies: 5
Views: 3846

Re: Coupling R with VENSIM

Sounds good. I'll get to work on that and report back on Monday. Thanks!
by rodrigo?solis
Fri Mar 20, 2020 6:23 pm
Forum: Vensim
Topic: Coupling R with VENSIM
Replies: 5
Views: 3846

Re: Coupling R with VENSIM

Yes, R has the dyn.load ( ) function in R can Load or unload DLLs. So, would I have to convert my Vensim.mdl into a DLL and then directly running it from VENSIM? Sorry for the naive questions, I've never used the DLL functionality in Vensim and I am not familiarized at all on how all that works
by rodrigo?solis
Fri Mar 20, 2020 5:30 pm
Forum: Vensim
Topic: Coupling R with VENSIM
Replies: 5
Views: 3846

Coupling R with VENSIM

Hi, I'm trying to find a way of coupling R with VENSIM so I can run a Bayes Sampler in R, run a simulation in VENSIM, and return the Payoff to R for the next round of Bayes Sampling. In theory, I could generate a CIN file from R--> run VENSIM with that CIN file generated --> export results from simu...
by rodrigo?solis
Wed Feb 13, 2019 7:23 pm
Forum: Vensim
Topic: Sens2File Question
Replies: 1
Views: 1851

Sens2File Question

Hi, I need to analyze my results using Standard Deviates, i.e. subtract the observed population growth rate from the mean projected population growth rate and dividing by the standard deviation of the projected growth rate (McCarthy et al., 2001). For doing so, I want to export the sensitivity run (...
by rodrigo?solis
Wed Jan 23, 2019 7:05 pm
Forum: Vensim
Topic: What improvements would you like to see in Vensim?
Replies: 150
Views: 13136328

Re: What improvements would you like to see in Vensim?

A little textbox on the status bar or somewhere else, showing the errors, payoff, etc, without popping out a whole window (it is quite annoying having to almost-automatically close the payoff pop-out window everytime I run a simulation)
by rodrigo?solis
Wed Jan 23, 2019 6:07 pm
Forum: Vensim
Topic: What improvements would you like to see in Vensim?
Replies: 150
Views: 13136328

Re: What improvements would you like to see in Vensim?

Hello everyone!, I really like the suggestions that are being put forward, and totally agree with them. Here are my two cents: Being able to: -Take the results from optimization and load them permanently in the model (not just with Load changes from) -To independently turn on and off the graphs of e...