How to obtain exogenous variables?

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 obtain exogenous variables?

Postby xuyongdeng » Tue Aug 11, 2015 12:15 pm

Hi, suppose I have data y_t. Shocks are denoted as z_t. The exogenous variables are e_t. I have all the parameters. My questions is how can I obtain the exogenous variables e_t from y_t and parameters. As in my programme, I want to bootstrap the data from exogenous variables. Thanks in advance.
xuyongdeng
 
Posts: 13
Joined: Mon Aug 10, 2015 9:08 pm

Re: How to obtain exogenous variables?

Postby jpfeifer » Tue Aug 11, 2015 4:41 pm

Shocks are exogenous variables, so I don't understand what you want. My guess is you want to run the smoother in order to obtain smoothed shocks. You may be looking for the calib_smoother command. See https://github.com/DynareTeam/dynare/blob/master/tests/fs2000/fs2000_calib.mod for an example.
------------
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: How to obtain exogenous variables?

Postby xuyongdeng » Tue Aug 11, 2015 5:43 pm

Hi, shocks are following AR process. Exogenous variables are innovations from the shocks AR processes. I want to get the shocks or these innovations from observed data. Any suggestions?
xuyongdeng
 
Posts: 13
Joined: Mon Aug 10, 2015 9:08 pm

Re: How to obtain exogenous variables?

Postby jpfeifer » Wed Aug 12, 2015 5:42 am

As I wrote above: use the
Code: Select all
calib_smoother
------------
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: How to obtain exogenous variables?

Postby xuyongdeng » Wed Aug 12, 2015 9:36 am

Hi jpfeifer, thank you for your reply. I understand that you have to have the shocks standard deviations if you want to use calib_smoother. But if I only have observed variables and model parameters and no shock standard deviations, can I still use ''calib_smoother" to get unobserved variables and shocks?
Thanks a lot for your help.
xuyongdeng
 
Posts: 13
Joined: Mon Aug 10, 2015 9:08 pm

Re: How to obtain exogenous variables?

Postby jpfeifer » Wed Aug 12, 2015 11:08 am

In that case, you need to estimate the standard deviations of the exogenous shock processes. You need those numbers for the Kalman smoother
------------
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


Return to Dynare help

Who is online

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