Hello I have about consumption preference

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.

Hello I have about consumption preference

Postby yoyoNDHU » Sat Mar 23, 2013 11:28 am

Hello!
I have a question!
I know maybe it not a good question.., because it's not a question for code.
My question is in my model my consumption is

C_t= [(1-alpha_t)^(1/eta)C_ht^((eta-1)/eta) + (alpha_t)^(1/eta)C_ft^((eta-1)/eta)]^(eta/(eta-1))

I want set alpha_t be a AR(1) shock, but someone ask me
if you set it be a shock if alpha >1 your model will get wrong~~
It's will happen in dynare? If yes, how can I set a regine for the shock~~

Thanks for everyone
yoyoNDHU
 
Posts: 31
Joined: Tue Sep 04, 2012 7:07 am

Re: Hello I have about consumption preference

Postby jpfeifer » Mon Mar 25, 2013 7:44 am

I don't completely get the question, but Dynare computes a smooth Taylor approximation to your FOCs. A constraint of the type you are imagining would require an occasionally binding constraint. This cannot be done in Dynare. Maybe it could be done using the extended path method.
------------
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: Hello I have about consumption preference

Postby yoyoNDHU » Mon Mar 25, 2013 8:24 am

Really really thanks for your help!!

I want ask two more question!

1) I know order=1 is using in log linear form

but...I'm so stupid use in nonlinear form

It will get a big error??

2) Because of using nonliear form

I remember dynare will take log by itself

then I set AR(1) process to A=A(-1)^rho*exp(ea)

finally my model is success to get result but I afraid all the result are wrong..

thanks for your help!
yoyoNDHU
 
Posts: 31
Joined: Tue Sep 04, 2012 7:07 am

Re: Hello I have about consumption preference

Postby yoyoNDHU » Thu Mar 28, 2013 8:36 am

Does someone can give me the answer or some suggest?

Thanks for everyone!
yoyoNDHU
 
Posts: 31
Joined: Tue Sep 04, 2012 7:07 am

Re: Hello I have about consumption preference

Postby jpfeifer » Thu Mar 28, 2013 1:00 pm

1) Nobody knows. The approximation error depends on the strength of the non-linearity and the shock size. You may be lucky or not.
2) Dynare won't automatically take the log. You have to do this manually be using a variable substitution with exp(). Dynare does the linearization for you.
------------
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: No registered users and 7 guests