Page 1 of 1

F.O.C.

PostPosted: Sat Feb 23, 2013 4:21 pm
by firevenus
How do you calculate First Order Condition? Manually? Can any package do this?Maybe Mathematica? lol.
Thx.

Re: F.O.C.

PostPosted: Fri Mar 08, 2013 1:51 pm
by SébastienVillemot
FOC are calculated by the Dynare preprocessor, which is a C++ program computing analytical derivatives of the model equations.

Re: F.O.C.

PostPosted: Fri Mar 08, 2013 3:23 pm
by jpfeifer
Actually, Dynare does not compute the FOCs (like e.g. the Euler equation). Dynare does the linearization of the FOCs by automatically computing the Taylor approximation, i.e. taking the required derivatives.

Re: F.O.C.

PostPosted: Sat Mar 16, 2013 4:09 pm
by SébastienVillemot
Thanks for correcting me.

Note that there is however one case where Dynare really computes the FOC: it is when using ramsey_policy.