How to express the expectation term?

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

How to express the expectation term?

Postby iloveshjtl » Wed Mar 16, 2011 5:54 am

I'm new in using Dynare,
1. so I want to know how I write the below expression.

(ex) pi=beta*(1-thetah)*E_t(pi(t+1)) + thetha*pi(t-1) + lambdah*mc + e

where E_t is the current expectation parameter.

In this case, in Dynare code,
pi = beta*(1-thetah)*pi(+1) + thetah*pi(-1) + lambdah*mc + e
is the correct expression?

Is the expectation(E) term expressed as merely parameter(+1), like this?


2. when I was exercising, Dynare warning was expressed as below

Warning: File 'newzealand2_optimal_mh_scale_parameter.mat' not found
Warning: File 'newzealand2/Output' not found
Warning: File 'newzealand2/metropolis' not found

What's the meaning of the above warning? What can I do for solving these problem?
Please help me and thank you for your attetion.
iloveshjtl
 
Posts: 10
Joined: Tue Mar 15, 2011 6:34 am

Re: How to express the expectation term?

Postby SébastienVillemot » Mon Mar 21, 2011 11:37 am

Concerning your first question: your expression is correct. Dynare puts an implicit E_t operator in front of all equations which, in your case, gives an expression equivalent to the one you want.

Concerning your second question: it’s hard to tell what’s going wrong here. It looks benign, since it’s only warnings and Dynare did not crash.
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 6 guests