Commit Graph

10285 Commits (9abac8ccdbad9d405f93bf28d6500d1de183c791)

Author SHA1 Message Date
Marco Ratto ce6f76713d cosmetic change 2017-03-17 12:41:59 +01:00
Marco Ratto 7a6b4f3464 extra option about choosing the time periods for which to plot decompositions 2017-03-17 12:41:59 +01:00
Marco Ratto 1920fb0bfe fixed timing bugs in annualized shock decomposition 2017-03-17 12:41:59 +01:00
Marco Ratto d7723877cf bug fixes for annualized nominal variables 2017-03-17 12:41:59 +01:00
Marco Ratto ac43beb801 bug fix with 'others' in conditional decomposition 2017-03-17 12:41:59 +01:00
Marco Ratto 9005054c6f optional output argument for plot_shock_decomposition.m + several fixes to annualized computations and plots. 2017-03-17 12:41:59 +01:00
Marco Ratto 39c3cf7718 bug fix with realtime conditional shock decomp 2017-03-17 12:41:59 +01:00
Marco Ratto a8107e154a added new annual aggregation types, for consistent quantity/price aggregations, if required. 2017-03-17 12:41:59 +01:00
Marco Ratto cb3362b89d missing utility for xls export of shock decomps. 2017-03-17 12:41:59 +01:00
Marco Ratto 5a51e9cc78 fixed zero line in all cases 2017-03-17 12:41:59 +01:00
Marco Ratto a50a4f458a Bug fix: all shock decomp options need to be stored in mydata for uimenu's. 2017-03-17 12:41:59 +01:00
Marco Ratto e21c887775 bug fix with steady state option 2017-03-17 12:41:59 +01:00
Marco Ratto 61d55127ed Fixed bug with naming of screen option 2017-03-17 12:41:59 +01:00
Marco Ratto e7442bcf78 added geometric average.
Set neutral type names, replacing stock/flow/deflator.
2017-03-17 12:41:59 +01:00
Marco Ratto d35ee4b58e adapted testing routine 2017-03-17 12:41:59 +01:00
Marco Ratto 46d6e59c9a small fix to file names 2017-03-17 12:41:59 +01:00
Marco Ratto bfe6d04bf2 - Added the possibility to compute annualized variables and associated decompositions out of quarterly ones, without blowing up variable definitions
- Fixed call to plot realtime conditional shock decomposition
2017-03-17 12:41:59 +01:00
Marco Ratto bb4ecbf5a8 Realtime conditional forecast is better computed as residual from the realtime shock decomposition and the model unconditional forecast 2017-03-17 12:41:59 +01:00
Marco Ratto a7ae355e8f Fixed dating issues in some plot shock decomps 2017-03-17 12:41:59 +01:00
Marco Ratto 441d34a6ee Fixed bug with realtime conditional shock decompo 2017-03-17 12:41:59 +01:00
Marco Ratto f87e240b30 Some better diversification of fig names and captions 2017-03-17 12:41:59 +01:00
Marco Ratto 27f4f81bbd document save_realtime option of shock decomp 2017-03-17 12:41:59 +01:00
Marco Ratto 92f79a14f4 Added realtime conditional forecast shock decomposition 2017-03-17 12:41:59 +01:00
Marco Ratto 3bebeb1832 Legend for detailed plots 2017-03-17 12:41:59 +01:00
Marco Ratto 3fdf7be6e8 - removed useless internal option fig_mode
- better captions/figure nsmes
- moved plots to graphs subdir
- fixed latex issuea [label and caption].
2017-03-17 12:41:59 +01:00
Marco Ratto 10773e2cbb results of realtime_shock_decomposition.m should be plotted using only plot_shock_decomposition.m, so avoid unexpectable behavior. 2017-03-17 12:41:59 +01:00
Marco Ratto d304fd26c1 shock_decomposition.m has to rely on plot_shock_decomposition.m, to make behaviour robust. 2017-03-17 12:41:59 +01:00
Marco Ratto f66191f59f added tex wrapper + small fixes to the test 2017-03-17 12:41:59 +01:00
Marco Ratto c2d2c46edf fixed figure name 2017-03-17 12:41:59 +01:00
Marco Ratto 02b3e20377 allow uimenu's also for colored graphs + better organization of userdata info 2017-03-17 12:41:59 +01:00
Marco Ratto 4ff586247e bug fix in Others group label 2017-03-17 12:41:59 +01:00
Marco Ratto fcdecb5b1f test file for plot_shock_decomposition and realtime_shock_decomposition 2017-03-17 12:41:59 +01:00
Marco Ratto 2c54d4432a - Bug fix with screen_shocks option
- fix to figure title
2017-03-17 12:41:59 +01:00
Marco Ratto ad55e1b085 initialize screen_shocks option of shock decomp 2017-03-17 12:41:59 +01:00
Marco Ratto 9e73a9e86b add steady state line 2017-03-17 12:41:59 +01:00
Marco Ratto 94297b71cc bug fixes around plot_shock_decomposition.m utilities 2017-03-17 12:41:59 +01:00
Marco Ratto 0053e7018f special characters fixed again. 2017-03-17 12:41:59 +01:00
Marco Ratto 0bf30889f9 Fixed header + bug fix for default options + set only local nograph 2017-03-17 12:41:59 +01:00
Marco Ratto e3c825f01a fixed header 2017-03-17 12:41:59 +01:00
Marco Ratto 73e5650dcc Revert "shock_decomposition should also follow global options_.nograph"
This reverts commit 01971dbeb032642421f60b468517fbbe0995a222.
2017-03-17 12:41:59 +01:00
Marco Ratto ddd25fb817 Improve documentation of shock decomposition commands 2017-03-17 12:41:59 +01:00
Marco Ratto ba7802204f end of lines 2017-03-17 12:41:59 +01:00
Marco Ratto 06176caf64 manual updates 2017-03-17 12:41:59 +01:00
Marco Ratto d2d6e19d87 fixes around default options in shock decompositions 2017-03-17 12:41:59 +01:00
Marco Ratto 7733484912 New utility plot_shock_decomposition.m
new graph_decomp_detail.m for detailed plots of shock contributions
new expand_group.m for optional uimenu operation in case of grouped shocks.
2017-03-17 12:41:59 +01:00
Marco Ratto 3ed94b2e46 New realtime_shock_decomposition.m routine + provisions in global initialization 2017-03-17 12:41:59 +01:00
Marco Ratto 4a314f7f8a shock_decomposition should also follow global options_.nograph 2017-03-17 12:41:59 +01:00
Marco Ratto a092cc3b73 Set default graph options and extend graph_decomp.m accordingly. 2017-03-17 12:41:59 +01:00
Marco Ratto e174d04579 - New option init_state [options_.shock_decomp.init_state] to compute the shock decomposition conditional to the state variables in period 1;
- force plot_priors=0
- when grouping shocks, include the residual group Others, since user defined groups may not add up to the smoothed variable.
2017-03-17 12:41:59 +01:00
Marco Ratto f27f210654 New utility for changing M_.params only locally 2017-03-17 12:41:59 +01:00