Simulating Measurement Errors

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.

Simulating Measurement Errors

Postby Dr. En Ami » Wed Jul 17, 2013 1:05 am

Does Dynare support simulating measurement errors?
Dr. En Ami
 
Posts: 18
Joined: Sat Jul 06, 2013 11:19 pm

Re: Simulating Measurement Errors

Postby jpfeifer » Wed Jul 17, 2013 6:41 am

What do you mean with this? Measurement errors only make sense in the context of estimation where you have an observation equation of the state space form. If you want to simulate a system with something you want to interpret as measurement error using stoch_simul, you have to do the following. Define your regular model. Say you want measurement error on output y. Then define a new variable (say y_obs) and a structural shock that is your measurement error and define an additional equation
Code: Select all
y_obs=y+eps_meas_y;

y_obs now is your observed variable with measurement error. The underlying economic variable y will not be affected by the measurement error. When simulation the model, y_obs will be simulated including the measurement error shock.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Simulating Measurement Errors

Postby Dr. En Ami » Wed Jul 17, 2013 7:50 pm

That is exactly what I meant. Thank you.
Dr. En Ami
 
Posts: 18
Joined: Sat Jul 06, 2013 11:19 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 7 guests