Penalty

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.

Penalty

Postby saddlepather » Tue Jun 21, 2011 10:12 pm

Hi, I'm trying to incorporate a penalty function in an otherwise standard model with borrowing constraints (similar to Mendoza 2010): a_{t+1} <= k_t (the total amount borrowed cannot be higher than a fraction of the beginning of period capital). The penalty function that I am using is:
Code: Select all
\frac{b}{c^2}e^{c(a_{t+1}-\alpha k_t)}

I'm solving the model as deviations from steady state (exp), so my Dynare code for the penalty looks like:
Code: Select all
\frac{b}{c}e^{c(exp(a)-\alpha exp(k(-1)}
and I was wondering whether this is correct since the results using this penalty function are not different from the ones obtained from assuming that the constraint is always binding (of course c is high enough). Thanks.
saddlepather
 
Posts: 1
Joined: Tue Jun 21, 2011 10:02 pm

Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests