1. 23 Jun, 2013 1 commit
    • Johannes Pfeifer's avatar
      Add check for purely backwards model to k_order_pert · 2eb43cf2
      Johannes Pfeifer authored
      The k_order_solver does not solve purely backwards models (as is the case in stochastic_solvers.m). But in contrast to stochastic_solvers, there is no check and no warning. Entering the mex-file then results in a crash of Matlab
      2eb43cf2
  2. 17 May, 2013 2 commits
  3. 13 May, 2013 1 commit
    • Johannes Pfeifer 's avatar
      Move filling of decision rules to respective orders · cc5527c8
      Johannes Pfeifer authored
      Previously, with pruning set to 1 and the option k_order_solver, the
      fields like dr.ghu were not set in k_order_pert, even at order=1. But
      stoch_simul tries to use them to display the decision rules. Similarly
      for order 2. The respective setting of the decision rule fields is now
      moved to the respective cases and always conducted at order 1 and
      conducted at order 2. This avoids crashes if decision rules of
      theoretical moments are requested.
      cc5527c8
  4. 08 May, 2013 1 commit
    • Johannes Pfeifer 's avatar
      Filter out stale loglinear option · 42081aec
      Johannes Pfeifer authored
      With a previously set loglinear option, both k_order_pert and
      stochastic_solvers at order>1 transformed the first order solution, but
      kept the higher order terms untransformed. Now, both functions output an
      error.
      42081aec
  5. 02 May, 2013 1 commit
    • Johannes Pfeifer 's avatar
      Remove mexErrCheck from k_order_pert to make it obey the noprint-option · 996ff3bf
      Johannes Pfeifer authored
      Currently, all stochastic solvers put the error code to info(1) and use
      print_info to output the error. The only exception was k_order_pert,
      which immediately created an error. Thus, the use of k_order_pert did
      not allow for continuing after encountering errors, because only
      print_info obeys the noprint-option. Replacing mexErrCheck by setting
      info should deliver the correct behavior.
      996ff3bf
  6. 25 Apr, 2013 1 commit
  7. 24 Apr, 2013 2 commits
    • Johannes Pfeifer 's avatar
      Implement Andreasen et al. 2013 pruning at order · cdb7b018
      Johannes Pfeifer authored
      Implements and documents the Andreasen et al. 2013 pruning at order=3
      and sets it as the default at this order. Michel's pruning based on the
      approximation of the forecast function has been assigned the option
      pruning_forecast_approximation. The preprocessor-interface still needs
      to be added for this option. Moreover, more documentation/a reference
      what this option does is needed. At a later point, we might change the
      default to Michel's approach.
      cdb7b018
    • Johannes Pfeifer 's avatar
      Fix unfold for third order pruning · 5cb9b028
      Johannes Pfeifer authored
      5cb9b028
  8. 21 Apr, 2013 1 commit
  9. 16 Nov, 2012 1 commit
    • Sébastien Villemot's avatar
      Remove oo_.dr.{nstatic,npred,nboth,nfwrd,nspred,nsfwrd} · c121aa14
      Sébastien Villemot authored
      Replace them by equivalents in M_ (and an extra one: M_.dynamic).
      
      IMPORTANT POINT: oo_.dr.npred used to count both purely backward and mixed/both
      variables. This was the cause of lots of confusion. The new M_.npred only
      counts purely backward variables.
      
      We now have the following indentities:
      
      M_.npred + M_.nboth + M_.nfwrd + M_.nstatic = M_.endo_nbr
      M_.nspred = M_.npred + M_.nboth
      M_.nsfwrd = M_.nfwrd + M_.nboth
      M_.ndynamic = M_.npred + M_.nboth + M_.nfwrd
      c121aa14
  10. 02 Aug, 2012 1 commit
  11. 31 Jul, 2012 1 commit
  12. 09 Jan, 2012 1 commit
  13. 14 Dec, 2010 1 commit
  14. 23 Sep, 2010 1 commit
  15. 30 Aug, 2010 1 commit
  16. 23 Aug, 2010 1 commit
  17. 20 Aug, 2010 1 commit
  18. 25 Jan, 2010 1 commit
  19. 16 Dec, 2009 1 commit
  20. 03 Dec, 2009 3 commits
  21. 30 Nov, 2009 1 commit
  22. 29 Nov, 2009 1 commit