Page 1 of 1

Random raviables and Distributional Assumptions

PostPosted: Sat Oct 25, 2014 3:19 pm
by msh855
Hi,

First, how it is possible to introduce an exogenous shock (i.e. random variable or exogenous process) with specific distribution assumptions?

For example, Assume that I have a linear function of the following form.

Code: Select all
R1_t= m1_t + e1_t
R2_t=m2_t*e2_t


m=[m1,m2], is a vector of endogenous variable, and e=[e1,e2] the vector exogenous random variable. Further assume that, my distributional assumptions are, e1 is normally distributed with (mu1,sigma1^2) and e2 log-normally distributed with some mean and variance (mu2, sigma2^2) respectively. For simplicity suppose that these two shocks are independent, and e2 is independent from m2.

Second, will dynare in this case understand that:
Code: Select all
E(R1_{t+1} = m1_t + mu1
E(R2_{t+1} = m2_t* mu2


Thanks

Re: Random raviables and Distributional Assumptions

PostPosted: Wed Oct 29, 2014 3:06 pm
by jpfeifer
Dynare uses perturbation techniques that rely only on the first and second moments, i.e. essentially, you can only use normal distributions for exogenous shocks. But you can work with transformations of these exogenous shocks, which are then approximated to a particular order. For example,
Code: Select all
exp(e1)

will be log-normally distributed if e1 is normal. When going to 2nd order, part of this log-normality is preserved.

Regarding the second point, Dynare only accepts mean 0 shocks. Thus, you need to split your shocks into a deterministic mean component plus a random shock. But Dynare will not understand what you wrote down, because if m1_t is an endogenous variable, E_t(m_t+1) will not be m_t unless it follows a random walk.