Sampling from a distribution
Posted: Wed Jan 11, 2012 12:41 pm
Dear all,
my task is to simulate a model with dynare. Two of my variables are drawn form a known lognormal-distribution with different support. Is there any way to do this in dynare? The only help I found is the random sample function of matlab. However, I dont know how to implement this in dynare. Moreover, I cannot define the support of the distriubtion using this function.
thanks a lot in advance!
flel
my task is to simulate a model with dynare. Two of my variables are drawn form a known lognormal-distribution with different support. Is there any way to do this in dynare? The only help I found is the random sample function of matlab. However, I dont know how to implement this in dynare. Moreover, I cannot define the support of the distriubtion using this function.
thanks a lot in advance!
flel