osr when a varible is a unit root

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.

osr when a varible is a unit root

Postby flaminia2010 » Sat Jun 05, 2010 7:29 am

Hi, I have just a question: am I wrong if I say that when a variable is no stationary I cannot use the command osr with that variable included in the loss fuction?
If it is so, How can I manage a situation like this? I created a dummy variable, the first difference, in order to detrend that variable and make it stationary. It seems to work, because I obtain the osr, but I still don't know if it is a rigorous procedure.
Is there another way to detrend the variable and include it in the loss fuction. I was thinking to the command HP filter but if I understand well I can use it only at the end of a model and not inside the command osr.
thanks in advance for your help
flaminia2010
 
Posts: 12
Joined: Fri Mar 26, 2010 10:53 am

Re: osr when a varible is a unit root

Postby AssiaEzzeroug » Sat Jul 10, 2010 3:39 pm

Hi,

what you did is to include a log-linear variable in your objective. It can work but it can also not to make sense if the other variables are in levels.. so a solution could be indeed to make the linearisation of the entire model. Do you know on which variable there is a a unit root? if its on prices you can stationnarize them by formulating the agregate and optimal prices in relative prices and inflation..)

Best
AssiaEzzeroug
 
Posts: 83
Joined: Tue Nov 24, 2009 3:48 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 7 guests