Commit Graph

5129 Commits (ee44dd5feaff7b6b4df40b042356039a88ebb678)

Author SHA1 Message Date
Stéphane Adjemian (Charybdis) ee44dd5fea Updated header. 2015-07-07 17:55:41 +02:00
Stéphane Adjemian (Charybdis) 316f394e06 Removed unused variables from sim1.m. 2015-07-07 17:55:41 +02:00
Stéphane Adjemian (Charybdis) 17f3583151 Allow linear_approximation option with stack_solve_algo=7. 2015-07-07 17:55:41 +02:00
Stéphane Adjemian (Charybdis) 27922a349c Fixed typo.
The value of jacobian_flag was not passed to fsolve.
2015-07-07 17:55:41 +02:00
Stéphane Adjemian (Charybdis) 8007f508a2 New option linear_approximation for perfect foresight models.
This approach only requires one evaluation of the dynamic model (and its
jacobian) instead of T (the number of perdiods). Also (because the model
is linear) the equilibrium paths are obtained by inverting the jacobian
of the stacked equations (no need for a Newton algorithm).

Only available with stack_solve_algo==0 (which is the default algorithm
for solving perfect foresight models).

If possible, the option is triggered automatically if the model is
declared linear.

TODO:
 * Write a linear version of perfect_foresight_problem routine.
 * Evaluate the approxilation error (just need to evaluate the system of
 stacked non linear equations).
2015-07-07 17:55:41 +02:00
Houtan Bastani ca6da942f2 Merge pull request #968 from JohannesPfeifer/Typos
Fix typos in error message in stochastic_solvers.m
2015-07-06 09:37:21 +02:00
Johannes Pfeifer 90a6bb991c Fix typos in error message in stochastic_solvers.m 2015-07-06 08:53:54 +02:00
Johannes Pfeifer 3d4d3ff2cb Replace call to cholcov by call to chol
Closes #964
2015-07-06 08:21:09 +02:00
Houtan Bastani 3b142de609 submodule update: reporting 2015-07-02 11:16:10 +02:00
Houtan Bastani 73781eafcf submodule update: reporting 2015-07-02 10:15:57 +02:00
Houtan Bastani 8ab0a60164 submodule update: reporting 2015-07-02 10:08:34 +02:00
Houtan Bastani cccb0995ff submodule update: reporting 2015-07-01 15:07:31 +02:00
Houtan Bastani a51e7251e1 submodule update reporting 2015-06-26 15:42:06 +02:00
Stéphane Adjemian (Charybdis) 23ff65d15a Updated dynare_config routine (initialization of the dseries and dates classes). 2015-06-24 19:02:42 +02:00
Stéphane Adjemian (Charybdis) 6d2f049637 Moved routines and updated submodules dseries and dates. 2015-06-24 18:54:51 +02:00
Stéphane Adjemian 71700dff76 Merge pull request #942 from JohannesPfeifer/TaRB_integration
Integrate the TaRB-algorithm into Dynare
2015-06-19 14:30:56 +02:00
Stéphane Adjemian 3fd010ff91 Merge pull request #957 from JohannesPfeifer/fs2000_steady_state
Update unit tests to use correct steady state files
2015-06-18 14:25:01 +02:00
Stéphane Adjemian 49dbd4e091 Merge pull request #960 from JohannesPfeifer/calib_smoother
Filter out case where estimated_params block is present but smoother on calibration is requested
2015-06-18 12:15:19 +02:00
Houtan Bastani 1cd2df568a Merge pull request #956 from JohannesPfeifer/dyn_mex_windows
Fix bugs in dyn_mex.m under Windows
2015-06-18 11:48:12 +02:00
Stéphane Adjemian 73e1ddf7f0 Merge pull request #961 from rattoma/gsa
Fix bug for models with leads and legs in exo variables
2015-06-18 11:32:37 +02:00
Stéphane Adjemian bf707c1975 Merge pull request #962 from JohannesPfeifer/bvar_irf_fix
Port bugfix #920 for Bayesian IRFs to BVAR routine
2015-06-18 11:27:55 +02:00
Houtan Bastani 770250aee9 submodule update: reporting 2015-06-17 12:58:03 +02:00
Johannes Pfeifer ecd03815c8 Port bugfix #920 for Bayesian IRFs to BVAR routine
Fixes plotting of IRFs where IRFs turn from negative to positive
2015-06-15 19:31:09 +02:00
Houtan Bastani 44fd0b37f9 reporting: submodule update 2015-06-11 11:55:31 +02:00
Marco Ratto a39c26060e Fix bug for models with leads and legs in exo variables 2015-06-10 15:57:30 +02:00
Houtan Bastani 864b5f17bc submodule update: dates 2015-06-10 09:28:07 +02:00
Johannes Pfeifer 22b1aa7a0d Filter out case where estimated_params block is present but smoother on calibration is requested
In this case, xparam1 will be empty while estim_params_ does not have conformable dimensions.
2015-06-09 14:51:32 +02:00
Johannes Pfeifer c2f07c720f Add check whether tarb_new_block_probability is between 0 and 1 2015-06-08 16:49:39 +02:00
Johannes Pfeifer 3bf13dd53b Add functionality for TaRB 2015-06-08 16:44:44 +02:00
Johannes Pfeifer 0769fd1cce Add verbosity and SaveFile options to some optimizers
Also moves additional optimizer-related files to corresponding subfolder
Closes #894
2015-06-08 16:44:44 +02:00
Johannes Pfeifer 5d8da65e6d Add check for unique data entries in dataset
Leads to cryptic crashes if not filtered out
2015-06-08 11:16:40 +02:00
Houtan Bastani 41155369ac Merge pull request #955 from JohannesPfeifer/identification_fixes
Various fixes to GSA and Identification
2015-06-08 10:17:24 +02:00
Johannes Pfeifer 249c2ca7ad Force sampling from uniform distribution for ML in stab_map_.m 2015-06-08 09:45:09 +02:00
Johannes Pfeifer c864d9facb Fix histvalf.m for steady state files
In this case, ex0_ is required, but it was not set global, leading to crashes
2015-06-07 17:28:16 +02:00
Johannes Pfeifer 13134e0c80 Make check_list_of_variables.m reflect that varobs is now a cell array. 2015-06-07 17:25:04 +02:00
Johannes Pfeifer c39331d526 Fix bugs in dyn_mex.m under Windows
Fixes string comparison and copy and paste error.
2015-06-07 14:07:11 +02:00
Stéphane Adjemian e07607011c Merge pull request #710 from JohannesPfeifer/estimation_init_analytic_derivation
Fix bug in dynare_estimation_init.m with analytic_derivation where param...
2015-06-06 23:17:10 +02:00
Johannes Pfeifer 79ca991b02 Add initialization of c1 to sylvester3.m
Prevents crashes in older Matlab versions for pathological cases (e.g. if p=0)
2015-06-06 18:45:05 +02:00
Johannes Pfeifer 27622a29da Fix initialization of parameter bounds for ML case in stab_map_.m 2015-06-06 17:40:37 +02:00
Johannes Pfeifer 68c9c3e9ab Account for ML in map_ident_.m
In this case, pdraws is empty. Closes #676
2015-06-05 20:49:43 +02:00
Johannes Pfeifer 4e6ce64081 Account for possibility of ML estimation in stab_map_.m 2015-06-05 20:48:43 +02:00
Johannes Pfeifer a269bed26e Account for fact that varobs is row cell now, not char column array in GSA 2015-06-05 20:47:51 +02:00
Johannes Pfeifer 88ae542a8a Fix copy and paste error in set_shocks_param.m introduced in 3ea44d47cf 2015-06-05 20:46:46 +02:00
Johannes Pfeifer 1232d51765 Cosmetic fixes to stab_map_.m
Also fixes initialization of variables; closes #764
2015-06-05 19:22:03 +02:00
Johannes Pfeifer 446b1f6dc1 Fix bug in identification when estimating only standard deviations
Closes #945
2015-06-05 18:22:45 +02:00
Johannes Pfeifer 3ea44d47cf Port changes from #511 to gsa/set_shocks_param.m
Closes #662
2015-06-05 16:56:32 +02:00
Johannes Pfeifer 01cb238a22 Account for NaN in graphs during identification if ML is used 2015-06-05 16:40:01 +02:00
Johannes Pfeifer d09bf195c9 Make sure diffuse_filter option is correctly passed in dynare_identification.m
Closes #677
2015-06-05 16:39:17 +02:00
Stéphane Adjemian (Karaba) 0b99367648 Fixed bug in makedataset (do not use 'exist' function, cannot make the difference between xls and xlsx files). 2015-06-05 16:35:05 +02:00
Stéphane Adjemian (Hermes) 11c84b733f Fixed bug.
isoctave is not in the path when calling add_path_to_mex_files.
2015-06-05 11:32:44 +02:00