Commit Graph

8145 Commits (d0628af1f2be7056fe12cd4908b390dcdc7e87ec)

Author SHA1 Message Date
MichelJuillard 22d4a86c6d Merge pull request #772 from JohannesPfeifer/varexo_det_forecasting
Fix forecasting with exogenous deterministic variables
2014-11-21 21:48:19 +01:00
Houtan Bastani f3f2da54ff load_csv_file: try loading io package before error and expand error message 2014-11-21 16:15:12 +01:00
Johannes Pfeifer 8204be67d0 Add unit test for correctness of forecasting with exogenous variables 2014-11-21 10:38:30 +01:00
MichelJuillard 8e9cd95a89 Merge pull request #760 from JohannesPfeifer/fix_smoother
Fix bug when calling non-Bayesian smoother after Bayesian estimation
2014-11-20 10:27:15 +01:00
Houtan Bastani e0ae604cef doc: update gsa option defaults to accord with changes in 6f68ad69a8 2014-11-20 10:25:34 +01:00
Houtan Bastani 974ea63b36 Merge pull request #787 from rattoma/gsa
New compact plots for GSA and IRF/moment calibration
2014-11-20 10:20:23 +01:00
Houtan Bastani 014a077fe4 Merge pull request #788 from rattoma/master
Updated affiliation
2014-11-20 10:14:31 +01:00
Marco Ratto 0de4eadb66 Updated affiliation 2014-11-20 08:42:33 +01:00
Marco Ratto 876635c371 1) Provisions for using mcf_analysis in map_calibration.m
2) Changed synthetic plotting of all restrictions
2014-11-19 19:37:51 +01:00
Marco Ratto a48e053e3a Do not number saved figure when only is saved. 2014-11-19 19:36:27 +01:00
Marco Ratto 3a32d61d32 provisions for using new mcf_analysis.m 2014-11-19 19:35:44 +01:00
Marco Ratto f3c9b39dce Added new Monte Carlo filtering utility, factorizing all Smirnov and correlation tests and plots. 2014-11-19 19:32:07 +01:00
Houtan Bastani 313433ec45 ms-sbvar: submodule update 2014-11-19 14:40:51 +01:00
Houtan Bastani 5224ceeebb Merge pull request #786 from rattoma/master
Proper use of nodecomposition option in posterior estimation and identification
2014-11-18 18:22:21 +01:00
Marco Ratto 6f68ad69a8 Merge remote-tracking branch 'remotes/personal/gsa' into gsa 2014-11-18 15:44:44 +01:00
Marco Ratto 79f68a5f32 1) proper use of new nodecomposition option;
2) bug fix on variable list;
2014-11-18 15:23:26 +01:00
Marco Ratto e01e957888 document nodecomposition 2014-11-18 13:04:37 +01:00
Marco Ratto 3d14c1078e Proper use of nodecomposition option in posterior estimation and identification. 2014-11-18 12:12:22 +01:00
Houtan Bastani ae8cedb24d Merge pull request #785 from rattoma/master
Properly deal with dseries in identification. This fixes #781
2014-11-18 11:55:32 +01:00
Houtan Bastani f3ec84971b preprocessor: add diffuse_filter and prior_trunc options to identification, #677 2014-11-18 11:53:34 +01:00
Marco Ratto e3ac15458a Properly deal with dseries in identification. This fixes #781 2014-11-18 11:34:49 +01:00
Houtan Bastani 8d96310436 Merge pull request #702 from rattoma/master
Use the nodecomposition option which is available in th_autocovarianc...
2014-11-17 12:16:43 +01:00
Houtan Bastani 4b338b4bcb preprocessor: add nodecomposition option to estimation and stoch_simul, #702 2014-11-17 12:15:38 +01:00
Houtan Bastani c3fdb7517c Merge pull request #782 from JohannesPfeifer/perfect_foresight_message
Cosmetic change to perfect foresight + unit tests
2014-11-17 11:32:07 +01:00
Johannes Pfeifer b735042f05 Fix naming of option selected_variables_only in manual 2014-11-16 21:11:06 +01:00
Johannes Pfeifer c5a0f932c2 Change wrong Windows-style file separators to Linux ones 2014-11-16 21:11:06 +01:00
Johannes Pfeifer c5c5caace5 Add utility to convert Dynare 4.5 results structure to 4.4 2014-11-16 21:11:06 +01:00
Johannes Pfeifer cb4fb6aaf1 Replace eval-command in dynare_estimation.m by direct call to fields 2014-11-16 21:11:06 +01:00
Johannes Pfeifer 86cac40362 Harmonize field length for FilteredVariables for calibrated smoother
Analogous to 4f5e0321228c0e4aca19fcd114f26dbaa1bbbfaf
2014-11-16 21:11:06 +01:00
Johannes Pfeifer 4b1e815728 Always display value of posterior/likelihood at the mode
Also clarifies that minus the posterior/likelihood is displayed
2014-11-16 21:11:06 +01:00
Johannes Pfeifer 747f90d89b Add unit tests for correct dimension of filtered, smoothed, forecasted, and updated variables and shocks 2014-11-16 21:08:18 +01:00
Johannes Pfeifer 9d25963976 Document different in FilteredVariablesKStepAhead-matrix between classical and Bayesian smoother 2014-11-16 21:08:18 +01:00
Johannes Pfeifer 68b27252d7 Fix selected_variables_only option with classical forecasts
dyn_forecast requires that the smoother has been run on all endogenous variables, leading to crashes. Now, if this option is encountered with classical forecasts, it is overridden. Also documents this in the manual.
2014-11-16 21:08:18 +01:00
Johannes Pfeifer 45ef721d03 Fix computation of SmoothedMeasurementErrors in Bayesian smoother 2014-11-16 21:08:18 +01:00
Johannes Pfeifer 1cbb17f929 Make sure classical filtered variables have the same length as the Bayesian ones, i.e. nobs. 2014-11-16 21:08:18 +01:00
Johannes Pfeifer 3902afa783 Improve documentation on filtered variables 2014-11-16 21:08:18 +01:00
Johannes Pfeifer 49abff9e4d pm3.m: If no TeX names are provided, default to variable names provided
Old default assumes that only moments for endogenous variables considered. This leads to wrong results if e.g. shocks are considered.
2014-11-16 21:08:18 +01:00
Johannes Pfeifer 61253bcb81 Add header with info to pm3.m 2014-11-16 21:08:18 +01:00
Johannes Pfeifer 9f20aaa8e4 Cosmetic fix to wording of error message in resol.m 2014-11-16 21:08:18 +01:00
Johannes Pfeifer b76bc6d79e Make sure all computed moments in Bayesian estimation return column vectors
The HPD were the only exemption, being row vectors.
2014-11-16 21:08:18 +01:00
Johannes Pfeifer 5062f2ec7b Fix length of stored and plotted forecasts for Bayesian estimation
It stored the initial condition(s) in addition to the forecasts for the specified horizon. In plots, the first point was actually not the forecast, but the initial condition. This contrasted with the behavior or ML and recursive Bayesian forecasts. Now the stored and plotted forecasts always have the first forecast horizon as the first entry/data point
2014-11-16 21:08:17 +01:00
Johannes Pfeifer 704f8650af Properly initialize var_yf in forcst.m 2014-11-16 21:08:17 +01:00
Johannes Pfeifer ac085f943a Add two unit test for perfect foresight simulation with only forward-looking variables 2014-11-16 15:09:16 +01:00
Johannes Pfeifer af9e30c658 Change display of failed solution to a warning
Problem can be missed too easily otherwise
2014-11-16 14:35:58 +01:00
Marco Ratto a871441896 1) Forced nodisplay to avoid proliferation of plots;
2) added waitbar;
2014-11-14 18:00:41 +01:00
Marco Ratto 21bf34e609 1) Added new improved plotting utility for Monte Carlo filtering tests: scatter_mcf.m;
2) fixed graphical and printed output for prior stab_map_.m;
3) use corrcoef for pvalue and change default pvalue_corr, alpha2_redform, alpha2_rmse to 1.e-5
2014-11-14 17:59:08 +01:00
Marco Ratto 6a4f79684c Merge remote-tracking branch 'remotes/personal/gsa' into gsa 2014-11-14 17:47:58 +01:00
Houtan Bastani 3f68450d51 osr: add option opt_algo. #779 2014-11-14 17:35:03 +01:00
Marco Ratto 06572f26a4 Use the nodecomposition option which is available in th_autocovariances.m: for large models with the HP filter option, this may spare a lot of time, if only the unconditional moments are needed on output; 2014-11-14 17:28:17 +01:00
Stéphane Adjemian (Telemachus) aae7c23fe2 Added unitary test for hessian routine. 2014-11-14 16:33:34 +01:00