Commit Graph

2076 Commits (83230103940a6e902a6c601c88f2a9453bb49526)

Author SHA1 Message Date
Marco Ratto a96bad899d Fixed bug of ~ in output list for non recent versions of matlab. 2011-06-21 09:43:24 +02:00
Ferhat Mihoubi 3459b08c53 - Corrects the first order approximation of block-decomposed models
- The block-decomposed models can now be estimated
2011-06-18 17:43:45 +02:00
Marco Ratto 838c0cd865 provisions in testing routines for hybrid unix/win clusters 2011-06-17 17:17:01 +02:00
Marco Ratto 64e6de59f3 last provisions for hybrid unix <-> win clusters 2011-06-17 17:16:32 +02:00
Marco Ratto 1527408023 captured output from system commands 2011-06-17 17:15:36 +02:00
Marco Ratto e48445fe4b added plot utility of gsa samples 2011-06-16 01:08:39 +02:00
Marco Ratto 7c9233daa9 provisions for new option neighborhood_width 2011-06-15 23:49:14 +02:00
Marco Ratto 756594fdc4 changed default ar=1 and perform automatic increase of ar if this is not sufficient 2011-06-15 23:47:27 +02:00
Michel Juillard 01d19720da MS-SBVAR: correcting bug in previous commit 2011-06-15 15:15:33 +02:00
Michel Juillard b8e50635a8 MS-SBVAR: adding IRF plots by regime 2011-06-15 12:04:15 +02:00
Michel Juillard abd5a62a07 updated and corrected list of errors in print_info 2011-06-13 18:42:03 +02:00
Sébastien Villemot aa8d5f9dc7 Homotopy mode 1: alleviate the requirement that old values must be different from new ones 2011-06-13 18:05:52 +02:00
Michel Juillard 85989df0e1 estimation initialization: minor bug correction when filtered_vars is requested 2011-06-08 22:06:41 +02:00
Marco Ratto e5c3decbc1 trap for too many parameters to be estimated w.r.t. affected moments. 2011-06-06 16:36:39 +02:00
Marco Ratto 664d17ba24 Fixes related to ML syntax (no prior definition). 2011-06-06 16:09:55 +02:00
Marco Ratto 0605396815 Force options_.nomoments=0; to be sure moments analysis is performed properly. Thanks to Johannes Pfeifer. 2011-06-06 15:28:46 +02:00
Marco Ratto 2c977073d2 Bug fix: thanks to Johannes Pfeifer 2011-06-06 15:21:59 +02:00
Marco Ratto 4b85444b18 Fixes related to hybrid clusters with unix master and windows slaves. 2011-06-06 15:21:26 +02:00
Michel Juillard 96384e630d metropolis: fixing bug (thanks to J. Pfeifer) 2011-06-03 15:23:25 +02:00
Michel Juillard 797b387f12 fixing header (thanks to J. Pfeifer) 2011-06-03 14:20:41 +02:00
Michel Juillard 250c32bfb5 estimation: fixing logic for calling mode_check (thanks to J. Pfeifer) 2011-06-03 14:20:27 +02:00
Michel Juillard 47f4794aa5 updating list of errors 2011-06-03 06:42:00 +02:00
Houtan Bastani 5ceb3eb72e fix typo 2011-06-01 14:43:42 +02:00
Houtan Bastani 9523d81e12 update comments 2011-06-01 11:28:50 +02:00
Houtan Bastani b9045cf61f MS-SBVAR: update initializations 2011-06-01 10:44:10 +02:00
Houtan Bastani 85ff8a9f79 MS-SBVAR: remove timing from files 2011-05-31 17:14:28 +02:00
Houtan Bastani d7a5bc5654 clean up ms sbvar code 2011-05-31 17:09:39 +02:00
Houtan Bastani 09df8bcf77 clean up sbvar code 2011-05-31 16:07:05 +02:00
Michel Juillard 796c98fc16 header update 2011-05-31 13:01:13 +02:00
Michel Juillard 89e2858e7a MS-SBVAR: option 'Orientation' for 'legend' is unknown to Octave 2011-05-31 11:52:50 +02:00
Michel Juillard de2c2e2bc6 MS-SBVAR: bug correction 2011-05-30 20:30:39 +02:00
Houtan Bastani 1487147ba0 removed extraneous flag 2011-05-30 17:46:35 +02:00
Houtan Bastani e3a3cebff8 set ms-sbvar paths in dynare_config 2011-05-30 17:46:31 +02:00
Houtan Bastani 2b2de22956 bug fix: add sbvar options back to global_initialization 2011-05-30 17:46:11 +02:00
Houtan Bastani f5b6142f04 add option 'file' to exist function 2011-05-30 16:31:56 +02:00
Michel Juillard 82600953f1 MS-SBVAR: added automatic saving of graphs in <mod_name>/Output; added possibility to select endogenous variables for IRF plots; updated plot functions. 2011-05-30 15:54:46 +02:00
Marco Ratto 7f9fa6c15b Small mug fix + changed calls to plotting utility. 2011-05-30 14:39:27 +02:00
Marco Ratto 338fdf216c 1) Detailed Sensitivity plots moved under the advanced option;
2) Fixes around saving figures;
2011-05-30 14:38:43 +02:00
Marco Ratto 58dc9557d9 Fixes around point-estimate of sensitivity and identification strength 2011-05-30 14:36:48 +02:00
Marco Ratto 1e5e214503 Fixes about computing pair-wise and multi-correlations for the Hessian case. 2011-05-30 14:34:19 +02:00
Michel Juillard 574f94eafa MS_SBVAR: correcting printing format of Markov file to allow for floating point 2011-05-27 22:09:54 +02:00
Michel Juillard 6f1c02769e fixing evaluation of objective function under optimal policy 2011-05-24 16:02:42 +02:00
Michel Juillard ae56c42b96 cleaning dyn_ramsey_static_.m 2011-05-24 16:02:42 +02:00
Michel Juillard 557ee2c004 removing options_.discount_factor that is replaced by parameter optimal_policy_discount_factor 2011-05-24 16:02:42 +02:00
Houtan Bastani 2cc8e061e6 preprocessor: added dynare_sensitivity option 2011-05-23 11:20:24 +02:00
Houtan Bastani 7f374f491f SWZ: updates for irf, forecast and variance decomposition mex calls 2011-05-20 14:34:26 +02:00
Michel Juillard 88d58a3cfc MS-SBVAR: adding back restriction_fname 'exclusions' for user defined exclusion identifying restrictions 2011-05-19 09:39:21 +02:00
Stéphane Adjemian (Sedna) e8d40906d9 Bug fix. Added new exceptions (steady state with NaNs, M_.params with NaNs or complex numbers) in DsgeLikelihood. 2011-05-18 12:22:15 +02:00
Houtan Bastani 074b6acb7d SWZ: changes for new code 2011-05-13 17:23:41 +02:00
Jacob Smith da43f3d0f5 Adding Mex Functionality to work with new MS-SBVAR Code, includes Forecasting,IRF,Variance Decomposition, Plotting and new global settings 2011-05-13 15:13:02 +02:00
Stéphane Adjemian (Sedna) ea103ecb84 Do not compute marginal density (Laplace approximation) if options_.cova_compute==1. 2011-05-13 14:56:03 +02:00
Stéphane Adjemian (Sedna) 26a4a011d0 Bug fix related to cova_compute==0 (The reported posterior mode was the prior mode in this case). 2011-05-13 14:35:51 +02:00
Stéphane Adjemian (Sedna) 6302abd7bd Allow empty hessian in mode_check routine (options_.cova_compute==0) 2011-05-13 12:46:55 +02:00
Stéphane Adjemian (Sedna) bd012c458f Fixed bug with option cova_compute. 2011-05-13 12:34:27 +02:00
Houtan Bastani f9f83232a0 bug fix 2011-05-12 18:29:29 +02:00
Michel Juillard f956ef4057 fixed Ramsey Policy when steadystate.m file is available 2011-05-11 08:18:51 +02:00
Michel Juillard 254e6e3948 improve output of mult_elimination 2011-05-11 08:16:27 +02:00
Michel Juillard 6a45f0a97e osr: added penalty for complex values in model Jacobian 2011-05-11 07:32:00 +02:00
Stéphane Adjemian (Sedna) 1f236dca66 Added new simplex optimization routine (mode_compute=8). 2011-05-10 14:18:23 +02:00
Marco Ratto 25b730e7fc Small bug fix for printed output 2011-05-10 10:13:21 +02:00
Marco Ratto e5d2055950 Added MC identification patterns + cosmetic changes. 2011-05-10 10:12:19 +02:00
Marco Ratto a45533caca Added SVD for J matrix as output identification info. 2011-05-10 10:11:25 +02:00
Marco Ratto d31b2218ff Added extended info for advanced identification analysis with Monte Carlo. 2011-05-10 10:10:42 +02:00
Marco Ratto ea57a8dc02 traps for mixed matlab/octave clusters 2011-05-10 10:09:31 +02:00
Marco Ratto e94ca34e70 some comments and cosmethics 2011-05-10 10:08:29 +02:00
Marco Ratto 37ebb654c5 Prepare parallel structure such that machines are sorted according to decreasing weight. 2011-05-10 10:07:59 +02:00
Marco Ratto 8cd482589f small cosmethic changes 2011-05-10 10:07:18 +02:00
Marco Ratto 46ccc7e4c2 Fixed bug when only name of file without dir info is fed to the routine. 2011-05-10 10:06:49 +02:00
Marco Ratto 816773fcff cleanup after changes to manage weights for machines. 2011-05-10 10:06:16 +02:00
Stéphane Adjemian (Sedna) 91eb466369 Added an error message when a variable is declared as oibserved more than once. 2011-05-06 15:54:40 +02:00
Stéphane Adjemian (Sedna) 690607c08c Fixed bug introduced in previous commit (4783f9118848abec7e947dc9fabbca12a3e217b0): missing transposition for xparam1. 2011-05-06 15:10:42 +02:00
Stéphane Adjemian (Sedna) ecb0131771 Cosmetic change. 2011-05-06 14:39:00 +02:00
Stéphane Adjemian (Sedna) 50e9422c34 Added the possibility to initialize the estimated parameters to the prior mode instead of the (default) prior mean. 2011-05-06 14:39:00 +02:00
Stéphane Adjemian (Sedna) 6ea8dd4935 Fixed bug. 2011-05-05 17:51:40 +02:00
Marco Ratto ad2fe012b1 Minor improvements to printed and plotted output. 2011-05-04 10:40:09 +02:00
Marco Ratto 7ae824b184 Fixes related to new options: gsa_sample_file and parameter_set + minor changes. 2011-05-04 10:39:30 +02:00
Marco Ratto 09cb81b163 minor change to printed output 2011-05-04 10:38:02 +02:00
Marco Ratto b5a6e6ba75 Changes and fixes related to:
1) runtime retrieve of remote files;
2) mixed cluster matlab/octave;
3) master windows calling remote unix slaves;
2011-05-04 10:36:24 +02:00
Marco Ratto bf580acb4a Changes related to master windows and remote slaves unix 2011-05-04 10:34:03 +02:00
Marco Ratto 3d80322303 New utilities for runtime transfer of files from remote slaves. 2011-05-04 10:21:25 +02:00
Marco Ratto a4b66e63f1 Added optional input argument dcrit. 2011-05-04 10:19:25 +02:00
Stéphane Adjemian (Gpm b5bf0f5dbe Do not enter in the last loop if aux_lead_nbr=0 (no auxiliary variables for leads). 2011-05-03 15:36:16 +02:00
Stéphane Adjemian (Gpm) b5634d8e37 Added input argument for plotting the prior densities. Added initialization of qz_criterium. 2011-05-03 12:41:45 +02:00
Stéphane Adjemian (Gpm) 60c2211ce7 Added error message when options_.qz_criterium is empty. 2011-05-03 12:41:45 +02:00
Michel Juillard e9a52ecae7 removing intermediary printing left behind 2011-05-02 20:56:26 +02:00
Sébastien Villemot 5c64b027e6 More explicit error message when an endogenous with measurement error is not
declared as observable
2011-05-02 12:45:23 +02:00
Stéphane Adjemian (Gpm) 947ac4281a Added an error message when the declared mean of beta shaped priors is outside the domain of the beta density. 2011-05-02 12:34:39 +02:00
Stéphane Adjemian (Gpm 2ad8d2218f Fixed bug (uninitialised variables). 2011-05-02 11:54:49 +02:00
Sébastien Villemot a0062605be Merge remote-tracking branch 'remotes/ratto/master' 2011-05-02 11:35:17 +02:00
Marco Ratto cbfc017356 unix end of lines for new functions! 2011-05-02 11:32:26 +02:00
Marco Ratto 5a5c3a3e26 help documentation 2011-05-02 11:24:07 +02:00
Marco Ratto d603c3f037 copyright 2011-05-02 11:17:55 +02:00
Marco Ratto a5559bb016 eliminated obsolete commented lines; 2011-05-02 11:15:25 +02:00
Stéphane Adjemian (Gpm 19beebb28a Added new exceptions about parameters changed in the steady state file. 2011-05-02 11:14:53 +02:00
Marco Ratto 9791d3adda Redesigned function following:
-) new options;
-) new utilities identification_analysis, plot_itentification and identification_checks;
-) fixes related to load_ident_files;
2011-05-02 11:14:29 +02:00
Marco Ratto c51066d76d Complete re-writing to make the function modular (the input being either J or H or Hess etc.). 2011-05-02 11:12:39 +02:00
Marco Ratto a512436295 new wrapper for graphical outputs in identification. 2011-05-02 11:10:33 +02:00
Marco Ratto cda26e6fcc Further simplification and improved display of critical params affected by collinearity issues. 2011-05-02 11:07:58 +02:00
Marco Ratto fa4f4b159a provide results in square matrix form for easier display. 2011-05-02 11:06:27 +02:00
Marco Ratto 7cdd0250f8 Removed trap which sometimes gives problems. 2011-05-02 11:03:56 +02:00
Marco Ratto 180a3bad9c New wrapper for identification analysis, given the parameter set provides results.
Allows more flexible coding and checks for particular parameter sets.
2011-05-02 11:03:18 +02:00
Sébastien Villemot 181186a205 Patch from George: fixes bug in partial information (closes #179) 2011-05-02 10:25:25 +02:00
Stéphane Adjemian (Gpm) d55d1d7b10 Cosmetic change related to the previous commit (12e0509510f7d71a8c2556b991eb84ebebe47e18). 2011-05-02 10:24:50 +02:00
Stéphane Adjemian (Gpm) e8fe8c7711 Added exceptions when the parameters updated in the steadystate file are complex or NaN. 2011-05-02 10:24:50 +02:00
Michel Juillard 71aec0eb39 shock_decomposition: bug correction 2011-04-30 19:52:26 +02:00
Stéphane Adjemian (Gpm) 14d7ab433f Added new info value (22) for cases where the steady state given by the steadystate file has NaNs. 2011-04-28 17:53:03 +02:00
Stéphane Adjemian (Gpm) b15cac0047 Added error message when an infinite std. is used with a Gamma shaped prior. 2011-04-28 12:33:01 +02:00
Stéphane Adjemian (Scylla) 72c2a343b1 Fixed bug. 2011-04-28 12:00:13 +02:00
Sébastien Villemot 896a80928b Cosmetic change 2011-04-27 11:57:49 +02:00
Sébastien Villemot 7b67f40a11 Bump MATLAB version requirement to 7.0 2011-04-27 11:57:43 +02:00
Michel Juillard 74d1d80b0c fixed elimination of Lagrange multipliers for Ramsey policy 2011-04-21 21:08:20 +02:00
Michel Juillard 33787d4b1e improved dyntable.m 2011-04-18 11:25:55 +02:00
Michel Juillard d2e0ef021c allowing historical time in shock decomposition 2011-04-18 11:25:55 +02:00
Marco Ratto 6b71b6800d -) remove useless burn-in iterations;
-) removed obsolete commented lines or unused variables;
-) when Asymptotic Hessian is available, take SVD of that for identification patterns;
-) when computing analytic  Hessian, scores are not necessary (no_DLIK=1);
-) fixes in output info when Hessian is available.
2011-04-15 15:28:58 +02:00
Marco Ratto 7c92b2308a Small improvements around analytic scores and Hessian 2011-04-15 15:26:33 +02:00
Marco Ratto 8aeb76fee6 -) small change to tolerance for eigenvector elements
-) cosmetic fix to header
2011-04-15 15:26:04 +02:00
Marco Ratto 25afd56163 Bug fixes around analytic scores for identification. 2011-04-12 18:18:18 +02:00
Marco Ratto 498d5ed698 Fixed bug when only one series is observed and analytic scores are computed. 2011-04-12 17:38:06 +02:00
Marco Ratto 2af300bf6e Added output arguments needed for analytic scores. 2011-04-12 17:37:02 +02:00
Marco Ratto 4dbbba414f Fixed for new treatment of auxiliary variables w.r.t. dynare version 4.1. 2011-04-12 12:09:17 +02:00
Marco Ratto d0d04065e6 Merged from 4.2 branch commits:
9747cb78940f41ba3d6c262b2e77a0aa01576d3d
730100282f17974d86510a9ebbaad735f27c46ba

* 1) bug fixes: non-initialized ide_strength when no param is  identified; normaliz1 set to one when prior std is inf; HIGHEST SVD bar fixed (wrong singluar values were plotted).

2) Simplified advanced output (no more multicollinearity and pair-wise correlations!).
3) Beautified output of collinear groups of variables.
4) use of sensitivities normalized with std errors.
2011-04-12 12:08:14 +02:00
Marco Ratto 5e230e41b4 Fixed initialization of options related to identification.
(cherry picked from commit 3a7119be7626e8cce4e68b7e5e28724ad46fd1d5)
2011-04-12 11:37:58 +02:00
Sébastien Villemot f978ebeff7 Provisions for MATLAB 7.12 (R2011a) 2011-04-08 11:07:03 +02:00
Marco Ratto fc0b867f5a Fixed bug with empty qz_criterium.
(cherry picked from commit 70928f47b180e5b0c7ebb340350c01fb04c8247f)
2011-04-07 10:36:37 +02:00
Marco Ratto e86e4b0bac Fixes related to the possibility of having octave slaves called by a matlab master. 2011-04-06 14:28:21 +02:00
Marco Ratto 2d3315f9fb modifications to allow weights attached to CPU's 2011-04-06 14:27:47 +02:00
Marco Ratto 8b44731ef0 Fixed bug in remote parallel execution introduced by previous commit b7133ebeb5 2011-04-06 14:24:04 +02:00
Marco Ratto 4c6a01da2e under parallel execution do not do parallel plots when some slave is octave, irrespective to master being matlab. 2011-04-06 14:22:34 +02:00
Marco Ratto a016d3c521 explicit mat extension with save (octave compatibility) 2011-04-06 13:08:22 +02:00
Marco Ratto 87abc9041c Fixed bug for tex figures. 2011-04-06 12:00:22 +02:00
Michel Juillard e91f0776f2 discretionary policy: made returned info values compatible with Dynare 2011-04-05 13:50:21 +02:00
Michel Juillard abf9a0eefd discretionary_policy: removed nested function Iterate to make code compatible with Octave 2011-04-05 13:50:21 +02:00
Houtan Bastani 865dcb57f8 IRF: add an option to limit the exogenous shocked in the computations (ticket 114) 2011-03-31 17:04:16 +02:00
Houtan Bastani d70b02d319 removed unused variable 2011-03-31 16:36:03 +02:00
Michel Juillard 2882827084 making sure variance of subsample is not very small before computing kernel density 2011-03-28 09:17:36 +02:00
Michel Juillard e29aeeadd8 merging changes for FOC of Ramsey policy problem computed by the preprocessor 2011-03-27 16:56:29 +02:00
Michel Juillard 554849a704 modifyimg *.m files for ramsey_policy when FOC are computed by the preprocessor 2011-03-27 16:54:49 +02:00
Michel Juillard 4d5dc228a8 add 'var' restriction to exist() tests (more of the same is needed in other functions) 2011-03-26 20:19:23 +01:00
Michel Juillard d0b68189da improved warning message when a beta prior has two modes 2011-03-26 10:31:54 +01:00
Michel Juillard 78d882900a more bug corrections in smoother routines 2011-03-25 21:32:45 +01:00
Michel Juillard 5f8b5fa467 removing useless 'd' output argument from the Kalman smoother functions. Removed global initialization of options_.diffuse_d. Fixed minor bugs in Kalman smoother functions. 2011-03-24 18:38:01 +01:00
Michel Juillard ec6c9ed9a7 fixing bug recently introduced for models without lagged variables 2011-03-19 18:47:49 +01:00
Ferhat Mihoubi 3f48c8723a Additional corrections related to the steady_state operator bug 2011-03-18 14:11:00 +01:00
Marco Ratto 32eff62af6 1) provisions for analytic scores and asymptotic Hessian provided by Nikolai Iskrev
2) several fixes and improvements in dynare_identification.m:
   -) provide more info for strength of identification (relative to prior)
   -) more drastic warning off
   -) print info from ident_bruteforce.m
2011-03-18 11:05:40 +01:00
Marco Ratto 218b9efc34 identification: added brute force search for groups of parameters that replicate the derivative pattern of another parameter. 2011-03-18 11:00:20 +01:00
Marco Ratto 52cc078de5 skipped print of multicollinearity on the command window 2011-03-18 10:56:32 +01:00
Marco Ratto 179662baca skipped useless call to initial checks when nargout>3. 2011-03-18 10:55:48 +01:00
Marco Ratto 8352873e06 Fixes to handle properly implicit derivation when STEADY_STATE syntax is applied 2011-03-18 10:54:09 +01:00
Marco Ratto 1ec1ea874a Added utilities for analytic scores and asymptotic Hessian of likelihood.
Thanks to Nikolai Iskrev
2011-03-18 10:52:27 +01:00
Ferhat Mihoubi 31b6c08347 Correct a bug when the model contains deterministic exogenous variables and bytecode option is used.
Note that stochastic simulations do not work for the moment with block option.
2011-03-18 01:09:20 +01:00