Normal AND Non-Normal Random Variables
Posted: Thu Apr 04, 2013 10:12 am
Dear Support Team
I was wondering whether it is possible to use random variables following non-normal distributions ALONGSIDE with standard normal distributions in Dynare 4.
I would need to use both normally distributed shocks and a variable following a binary distribution (value 1 with probability p, and value 0 with probability (1-p)).
I have already found a previous question on uniform distributions between 0 and 1:
http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=1855
where you said it was possible to change the Matlab code for shock variables. This, however, would change the distribution of ALL shocks I guess, so no co-existence of two differently distributed shocks?
Thank you and best wishes
antonia
PS: Another quick question: Is there an option for boolean operators (if) in Dynare?
I was wondering whether it is possible to use random variables following non-normal distributions ALONGSIDE with standard normal distributions in Dynare 4.
I would need to use both normally distributed shocks and a variable following a binary distribution (value 1 with probability p, and value 0 with probability (1-p)).
I have already found a previous question on uniform distributions between 0 and 1:
http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=1855
where you said it was possible to change the Matlab code for shock variables. This, however, would change the distribution of ALL shocks I guess, so no co-existence of two differently distributed shocks?
Thank you and best wishes
antonia
PS: Another quick question: Is there an option for boolean operators (if) in Dynare?