Skip to content
Snippets Groups Projects
  1. Sep 09, 2024
    • Sébastien Villemot's avatar
      Initial HANK support · 1e68b2fc
      Sébastien Villemot authored
      – New “heterogeneity_dimension” statement
      – New option “heterogeneity” to “var”, “varexo”, “parameters”, “model” and
        “shocks” statements
      – New “SUM()” operator in “model” block
      Verified
      1e68b2fc
  2. Feb 06, 2024
  3. Dec 01, 2023
  4. Nov 30, 2023
  5. Oct 16, 2023
  6. Sep 27, 2023
  7. Mar 28, 2023
    • Sébastien Villemot's avatar
    • Sébastien Villemot's avatar
      Ramsey: write derivatives of static model w.r.t. Lagrange multipliers in a new file · 0169240f
      Sébastien Villemot authored
      The computing of the Ramsey steady state relies on the fact that Lagrange
      multipliers appear linearly in the system to be solved. Instead of directly
      solving for the Lagrange multipliers along with the other variables,
      dyn_ramsey_static.m reduces the size of the problem by always computing the
      value of the multipliers that minimizes the residuals, given the other
      variables (using a minimum norm solution, easy to compute because of the
      linearity property). That function thus needs the derivatives of the optimality
      FOCs with respect to the multipliers. The problem is that, when multipliers
      appear in an auxiliary variable related to a lead/lag, then those derivatives
      need to be retrieved by a chain rule derivation, which cannot be easily done
      with the regular static file.
      
      This commit implements the creation of a new file,
      ramsey_multipliers_static_g1.{m,mex}, that provides exactly the needed
      derivatives w.r.t. Lagrange multipliers through chain rule derivation.
      
      Ref. dynare#633, dynare#1119, dynare#1133
      Verified
      0169240f
    • Sébastien Villemot's avatar
      :bug: Incorrect cost table used when computing temporary terms in static model with “use_dll” · a8fc8e7a
      Sébastien Villemot authored
      It was erroneously using MATLAB costs, leading to possible
      inefficiencies (though those cost tables are probably not very accurate and
      should be revised).
      Verified
      a8fc8e7a
  8. Mar 20, 2023
  9. Mar 03, 2023
  10. Jan 17, 2023
  11. Jan 13, 2023
  12. Dec 14, 2022
  13. Nov 22, 2022
  14. Nov 04, 2022
  15. Nov 02, 2022
  16. Oct 11, 2022
    • Sébastien Villemot's avatar
      Various filesystem refactorings · 93054cf6
      Sébastien Villemot authored
      – DataTree::packageDir() now takes a std::string_view, returns a
        std::filesystem::path, and no longer creates that directory
      – DataTree::writeToFileIfModified() now takes a std::filesystem::path as
        argument
      – Do not call DataTree::writeToFileIfModified() for generating MATLAB/Octave
        files, since it does not work (the directory inside which the file is written
        has been deleted by the preprocessor just before)
      – Consistently use DataTree::packageDir() everywhere (for compatibility with
        planner_objective)
      Verified
      93054cf6
  17. Oct 07, 2022
  18. Oct 04, 2022
  19. Sep 27, 2022
  20. Sep 21, 2022
  21. Sep 14, 2022
  22. Sep 13, 2022
  23. Jul 21, 2022
  24. Jul 20, 2022
  25. Jul 12, 2022
Loading