Need help for the syntax of first difference

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.

Need help for the syntax of first difference

Postby yaooo99 » Sun Feb 20, 2011 7:45 pm

Hi
I am working on King and Rebello (2000). I know I can use stoch_simul(HP_filter) to detrend with HP filter. Now, if I want to detrend by first difference, is there a syntax for this? OR I have to solve it by myself?
Thanks for help.
yaooo99
 
Posts: 1
Joined: Sun Feb 20, 2011 7:34 pm

Re: Need help for the syntax of first difference

Postby SébastienVillemot » Tue Feb 22, 2011 12:38 pm

There is no dedicated syntax for doing this, you have to construct explicitely the variable containing the first difference.
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 8 guests