Page 1 of 1

solve and estimate model with "infinite steady states"

PostPosted: Tue Aug 09, 2016 3:09 am
by ZBCPA
Dear Johannes Pfeifer,

Could I ask if dynare can solve and estimate global indeterminacy model with "infinite steady states"?

Thanks in advance,
Huan

Re: solve and estimate model with "infinite steady states"

PostPosted: Tue Aug 09, 2016 10:36 am
by jpfeifer
What exactly do you have in mind? A model with a unit root is one with infinitely many steady states, but Dynare can handle them.

Re: solve and estimate model with "infinite steady states"

PostPosted: Tue Aug 09, 2016 11:37 am
by ZBCPA
jpfeifer wrote:What exactly do you have in mind? A model with a unit root is one with infinitely many steady states, but Dynare can handle them.


Many thanks for your reply.

I just saw a JET 2008 paper "Imperfect competition and indeterminacy of aggregate output".

The global indeterminate benchmark model has a continuum of steady states determined by the value of the marginal cost. When I tried to replicate the irf figures ,Dynare shows "Impossible to find the steady state. Either the model doesn't have a steady state, there are an infinity of steady states,or the guess values are too far from the solution". I have no idea how to handle it . Could you please give me some hints?

Kind regards,
Huan

Re: solve and estimate model with "infinite steady states"

PostPosted: Tue Aug 09, 2016 12:02 pm
by jpfeifer
In models with an infinity of steady states, you cannot obviously not use the numerical solver to solve for the steady state as it cannot be endogenously determined. You need to use a steady state file to select one.

Re: solve and estimate model with "infinite steady states"

PostPosted: Wed Aug 10, 2016 8:45 am
by ZBCPA
jpfeifer wrote:In models with an infinity of steady states, you cannot obviously not use the numerical solver to solve for the steady state as it cannot be endogenously determined. You need to use a steady state file to select one.


Many thanks.

I log-linearized the model using pencil and paper then use steady_state_model block where I set each variable =0; then the result shows that Blanchard Kahn conditions are not satisfied: indeterminacy.I am not sure if this is right since the model is indeed a global indeterminate model. Unless using Farmer's JEDC 2015 paper's method to define a new sunspot, such model can not be solved.

Could you please give me some hints?

Kind regards,
Huan

Re: solve and estimate model with "infinite steady states"

PostPosted: Fri Aug 12, 2016 7:14 am
by jpfeifer
I am not sure I am following. Are you talking about a replication of Wang/Wen (2008): "Imperfect competition and indeterminacy of aggregate output"? In that paper, the sunspot introduced seems to assure "determinacy" of the model (but not determinacy of the endogenous variables of the model as you need to introduce and extraneous shock to determine them).

Re: solve and estimate model with "infinite steady states"

PostPosted: Sat Aug 13, 2016 8:56 am
by ZBCPA
jpfeifer wrote:I am not sure I am following. Are you talking about a replication of Wang/Wen (2008): "Imperfect competition and indeterminacy of aggregate output"? In that paper, the sunspot introduced seems to assure "determinacy" of the model (but not determinacy of the endogenous variables of the model as you need to introduce and extraneous shock to determine them).


Really appreciated!

Yes, I am replicating that paper, especially the impulse responses to a sunspot shock (fig 1 in the paper) but get stuck since the Blanchard Kahn conditions are not satisfied: indeterminacy.

Could I ask the difference between "determinacy of the model" and "determinacy of the endogenous variables of the model" ?

I also attached the code for benchmark model. At least the model block and calibrations in this code are all right. Could you please give me some hints on the right way to replicate the irf in the paper ?

Kind regards,
Huan

Re: solve and estimate model with "infinite steady states"

PostPosted: Sun Aug 14, 2016 6:06 pm
by jpfeifer
You should work with the nonlinear model in equations (23)-(30) of the paper. I don't have time to check your linearizations and steady state computations.