Adding a net worth shock and uncertainty shock to GK (2011)
Posted: Tue Jul 16, 2013 2:36 pm
Dear users,
I hope you can help me with the following problem. I want to add a net worth shock including an uncertainty shock to Gertler & Karadi's: A model of unconventional monetary policy (2011).
I have incorporated the two shocks as follows:
shock_n = rho_shock_n*shock_n(-1)+shock_sig*e_n
shock_sig = rho_shock_sig*shock_sig(-1)+e_sig
I have thus added exp(shock_n) to the total net worth equation (11).
But I get the message:
ERROR: NWS.mod:194.1-9: syntax error, unexpected NAME
Which I understand is an error in the specified shock_n. But I cannot figure out how to solve this, and get the code running. I have attached the code, if you care to take a look.
I would truly appreciate any help!
Kindest regards,
I hope you can help me with the following problem. I want to add a net worth shock including an uncertainty shock to Gertler & Karadi's: A model of unconventional monetary policy (2011).
I have incorporated the two shocks as follows:
shock_n = rho_shock_n*shock_n(-1)+shock_sig*e_n
shock_sig = rho_shock_sig*shock_sig(-1)+e_sig
I have thus added exp(shock_n) to the total net worth equation (11).
But I get the message:
ERROR: NWS.mod:194.1-9: syntax error, unexpected NAME
Which I understand is an error in the specified shock_n. But I cannot figure out how to solve this, and get the code running. I have attached the code, if you care to take a look.
I would truly appreciate any help!
Kindest regards,