MODEL> ASmodel
 
ENDOG>
       yhat       _NOTD
       pihat      _NOTD
       chat       _NOTD
       rhat       _NOTD
       ghat       _NOTD
       zhat       _NOTD
       yhatlag    _NOTD
       one        _DTRM
       etaR       _NOTD
       etaG       _NOTD
       etaZ       _NOTD

EQUATION> EQ1
EQTYPE>   IMPOSED
EQ>       yhat =      LEAD(yhat,1)
                      + ghat
                      - LEAD(ghat,1)
                      - (1/tau)*rhat
                      + (1/tau)*LEAD(pihat,1)
                      + (1/tau)*LEAD(zhat,1)

EQUATION> EQ2
EQTYPE>   IMPOSED
EQ>       pihat =     beta*LEAD(pihat,1)
                      + kappa*yhat
                      - kappa*ghat

EQUATION> EQ3
EQTYPE>   IMPOSED
EQ>       chat =      yhat - ghat

EQUATION> EQ4
EQTYPE>   IMPOSED
EQ>       rhat =      rhoR*LAG(rhat,1)
                      + (1-rhoR)*psi1*pihat
                      + (1-rhoR)*psi2*yhat
                      - (1-rhoR)*psi2*ghat
                      + sigmaR*etaR

EQUATION> EQ5
EQTYPE>   IMPOSED
EQ>       ghat =      rhoG*LAG(ghat,1)
                      + sigmaG*etaG

EQUATION> EQ6
EQTYPE>   IMPOSED
EQ>       zhat =      rhoZ*LAG(zhat,1)
                      + sigmaZ*etaZ

EQUATION> EQ7
EQTYPE>   IMPOSED
EQ>       yhatlag =   LAG(yhat,1)

EQUATION> EQ8
EQTYPE>   IMPOSED
EQ>       one =       0*LAG(one,1)

EQUATION> EQ9
EQTYPE>   IMPOSED
EQ>       etaR =      0*one

EQUATION> EQ10
EQTYPE>   IMPOSED
EQ>       etaG =      0*one

EQUATION> EQ11
EQTYPE>   IMPOSED
EQ>       etaZ =      0*one

END
