Commit Graph

31 Commits (8a35ee7363273e0ba7e06bd55634eca70c6732e6)

Author SHA1 Message Date
Stéphane Adjemian (Charybdis) 8a35ee7363 Added an option to skip the test on the number of periods over which the perfect foresight models are solved. 2012-02-04 16:19:15 +01:00
Stéphane Adjemian (Charybdis) 43f46f2886 Removed stability test over the last periods of the perfect foresight solution. 2012-02-03 14:06:35 +01:00
Stéphane Adjemian (Charybdis) 7978070814 Fixed bug. 2012-02-03 12:52:37 +01:00
Stéphane Adjemian (Charybdis) fed2e229e5 Try first Ferhat's code and if it fails try the matlab's implementation of the the perfect foresight model solver. 2012-02-03 12:39:48 +01:00
Stéphane Adjemian (Charybdis) ac54f7f528 Added comments and the possibility to use a matlab implementation of the perfect foresight model solver. 2012-02-03 11:25:03 +01:00
Stéphane Adjemian (Charybdis) 6328a44f33 Streamlined extended paths routines.
*  Removed the  necessity (for  the  user) to  run stoch_simul  bebore
executing the exetended path routine (when options_.init>0).

*  The  value  of  options_.ep.init  defines the  mix  (used  for  the
initialization of  the perfect foresight solver)  between the previous
perfect foresight  solution and  the path obtained  with an  order one
perturbation approach.

* Removed timing related statements.

*  Changed homotopy set-up  for stochastic  extended path:  add future
multivariate innovations one by one.

* Endogeneously increase step_length in the homotopy routine.

* Removed homotopy_2 related code.
2012-01-27 18:27:42 +01:00
Stéphane Adjemian (Charybdis) 5e87dfcd0f Prevent homotopy routine to enter in the second loop (doi not (re)start the homotopy from weight=0). 2012-01-23 13:59:25 +01:00
Stéphane Adjemian (Charybdis) 9abb2e9ff8 Adapted homotopy routine to SEP. 2012-01-23 13:57:30 +01:00
Stéphane Adjemian (Charybdis) 02d6987685 Fixed bug in EP algorithm. 2012-01-23 13:56:46 +01:00
Michel Juillard 62b1ed7923 correcting bug in extended path and added a test 2012-01-21 17:50:11 +01:00
Stéphane Adjemian (Charybdis) 692708859e Fixed bug. 2012-01-21 14:40:27 +01:00
Stéphane Adjemian (Charybdis) f63ce01859 Put debug and memory modes in options_.ep. 2012-01-21 14:13:31 +01:00
Stéphane Adjemian (Charybdis) 651c5e7fba Fixed bug (wrong index variable). 2012-01-21 14:12:05 +01:00
Stéphane Adjemian (Charybdis) 0d8371c299 Added an option to track the expectation in the (S)EP approach. 2012-01-20 18:43:34 +01:00
Stéphane Adjemian (Charybdis) 58f4feb6ad Cosmetic change + Added scramble mode (possibility to add noise in the future). 2012-01-20 16:40:17 +01:00
Stéphane Adjemian (Charybdis) 1ba89be300 Undo last commit#3dc015592c9da527f7d2ad218bc53422ac7edc83. 2012-01-11 17:10:24 +01:00
Stéphane Adjemian (Charybdis) 3dc015592c Cosmetic change. Removed useless input argument to dyn_waitbar. 2012-01-11 16:08:24 +01:00
Stéphane Adjemian (Charybdis) f074679f14 Code factorization. Use dyn_waitbar in extended_path routine. 2012-01-11 16:01:24 +01:00
Stéphane Adjemian (Charybdis) 29cf9c4113 Removed the display of the first lines of oo_.exo_simul (extended path simulations). 2011-12-26 17:46:48 +01:00
Stéphane Adjemian (Charybdis) 3e84e333b4 Changed verbosity options (fast deterministic simulations). Default is options_.verbosity==1. 2011-12-26 17:46:48 +01:00
Stéphane Adjemian (Charybdis) ecfc5bbbc9 Removed nonsensic options (for the evaluation of the expectations). 2011-12-26 11:53:08 +01:00
Stéphane Adjemian (Charybdis) e2f69ab4fc Added arbitrary order of approximation for the Stochastic Extended Path approach.
Default is that we only consider shocks in t+1 to approximate the expectations. If
options_.ep.stochastic.order is set to s>1, shocks in t+1, t+2, ..., t+s are
considered. Obviously the (tensorial) tree of future shocks is growing
exponentially.

Other numerical rules of integration have to be added...
2011-12-23 17:57:41 +01:00
Stéphane Adjemian (Charybdis) 744f3fd41b Added Stochastic Extended Path method (SEP). 2011-12-19 18:04:54 +01:00
Stéphane Adjemian (Charybdis) 857eb7438f Added provisions for future shocks (using Gaussian quadratures). 2011-12-16 11:42:03 +01:00
Stéphane Adjemian (Charybdis) 8fa4bfc160 Cosmetic change. 2011-12-16 11:42:03 +01:00
Stéphane Adjemian (Charybdis) 230e787b27 Fixed bug. The seed has to be set before the sampling of the structural innovations. 2011-12-16 11:42:03 +01:00
Stéphane Adjemian (Charybdis) 95fb57b4e9 Added waitbar for EP simulations. 2011-12-12 14:20:14 +01:00
Stéphane Adjemian (Charybdis) 3ba5a645be Make verbosity flag effective: do not print informations about perfect foresight solvers if options_.ep.verbosity=0. 2011-12-12 14:20:14 +01:00
Stéphane Adjemian (Charybdis) a36cf30118 Make options_.dynatol specific to x/f by adding dynatol.x and dynatol.f. By default dynatol.x=dynatol.f= old default value of dynatol. 2011-12-12 14:20:14 +01:00
Stéphane Adjemian (Charybdis) 6d9983df0c New version of the extended path routines. 2011-12-09 18:03:30 +01:00
Stéphane Adjemian (Charybdis) 3318542895 Removed old verison of extended path routine. Added new version in dynare/matlab/ep. Added field (ep) in option_ for the extended path routines. 2011-12-05 10:58:39 +01:00