Standard error in level model and linear model

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.

Standard error in level model and linear model

Postby hodabbbb » Thu Mar 24, 2016 5:55 pm

Hi,
a quick question.

I calibrate a model in level, and than I linearize it.

As I use the same set of parameters in linearized model,
shouldn't I get the same/similar standard errors for the variables as I get in my model calibrated in levels ?

If it is true I assume I should have done sth wrong during loglinearization or is it normal to get different moments ?


thanks in advance
hodabbbb
 
Posts: 39
Joined: Wed Mar 25, 2015 3:58 pm

Re: Standard error in level model and linear model

Postby jpfeifer » Tue Mar 29, 2016 8:17 am

No, in levels you get absolute deviations. E.g. output deviations are then measured in output units. When you do log-linearization (which is presumably what you mean), output will be in percentage devations and therefore unit-less.
The standard deviation of the log-linearized model should be 1/(steady state) times the standard deviation of the level.
------------
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: Standard error in level model and linear model

Postby hodabbbb » Tue Mar 29, 2016 8:55 am

Thanks for the the reply.

In my level model I was calculating the standard deviation of a variable 'X' as

xx = x / STEADY_STATE(X)


so when I get the STD of ''xx'' in my level model it should correspond to the STD of my x_hat in my loglinearized .

Shouldn't it ???
hodabbbb
 
Posts: 39
Joined: Wed Mar 25, 2015 3:58 pm

Re: Standard error in level model and linear model

Postby jpfeifer » Tue Mar 29, 2016 8:57 am

Yes, it should.
------------
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: Standard error in level model and linear model

Postby hodabbbb » Tue Mar 29, 2016 10:13 am

Thanks again Prof. Pfeifer

I was tracing back for the source of the problem.
So I simplified into an RBC (both linear and level) and I got the same ST.Errors.

Then I added block to get a NK and I realized that the difference comes in the way I specify th Taylor Rule (TR).

So I am posting both my TRs (level & linear model)

Level TR (following SW2007):

log(Rn/STEADY_STATE(Rn)) = rhoR * log(Rn(-1)/STEADY_STATE(Rn))
+ (1-rhoR) * thetP * log(PIE(+1)/STEADY_STATE(PIE))
+ (1-rhoR) * thetY * log(Y/STEADY_STATE(Y))
+ log(epsR) ;

MP shock:
log(epsR)-log(STEADY_STATE(epsR)) = rhoM*(log(epsR(-1))-log(STEADY_STATE(epsR))) + epsM;



so in my linear model I wrote the TR as :

rn = rhoR* rn(-1) + (1-rhoR)* ( thetP*pie(1)+thetY*y+thetDP*(pie-pie(-1)) ) +epsR ;

MP shock:
epsR = rhoM * epsR(-1) + epsM;


So I could boil down the problem in the way I have translated the TR (and MP shock) from level into linear model.
I tried different ways of specifying it but I could not get the same St.Errors

Any chance you could spot some problems at a blink of an eye pls ?

Thanks a lot for your time.
hodabbbb
 
Posts: 39
Joined: Wed Mar 25, 2015 3:58 pm

Re: Standard error in level model and linear model

Postby jpfeifer » Tue Mar 29, 2016 10:39 am

Where doe the
Code: Select all
+thetDP*(pie-pie(-1))

come from?
------------
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: Standard error in level model and linear model

Postby hodabbbb » Tue Mar 29, 2016 11:01 am

Sorry for the typo.
that is not active as it is set equal to '0'
in both TR rules
hodabbbb
 
Posts: 39
Joined: Wed Mar 25, 2015 3:58 pm

Re: Standard error in level model and linear model

Postby jpfeifer » Wed Mar 30, 2016 7:55 am

How big are the differences? And are you sure the differences come from the Taylor rule itself or the way the interest rate enters the model in other equations?
------------
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 10 guests