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
Marco Ratto
a6f7e02d17
added utilities for optimal distinguishable colors.
2017-03-17 12:41:59 +01:00
Houtan Bastani
aa0eceeb38
Merge pull request #1405 from JohannesPfeifer/block_error_code
...
Make sure block-decomposed model returns with correct error code if I…
2017-03-17 10:45:16 +01:00
Johannes Pfeifer
569de10511
Make sure block-decomposed model returns with correct error code if Inf or NaN is encountered
...
Missing from 5f85d3a200
where only residual was set to error code. If oo_.deterministic_simulation.status is not set to 0, model will erroneously be considered as solved and homotopy will not be triggered.
2017-03-17 10:07:13 +01:00
Stéphane Adjemian (Charybdis)
c921212fe5
Renamed trs field consistently with 1022e675c1
.
2017-03-16 23:41:27 +01:00
Stéphane Adjemian (Charybdis)
1022e675c1
Do not use cputime as advised by Mathworks.
...
cputime time is not a good measure of performance on multithreaded applications.
TODO
- Change trs field,
- Adapt testsuite code.
2017-03-16 18:27:01 +01:00
Stéphane Adjemian (Charybdis)
06326d4477
Fixed bug introduced in cad7adc01f
.
2017-03-16 18:14:23 +01:00
Stéphane Adjemian (Charybdis)
ae3752a0d3
Lowered threshold value for a test.
2017-03-16 15:51:11 +01:00
Stéphane Adjemian (Charybdis)
dbffe2a841
Do not check boundaries if the model is not estimated.
2017-03-16 15:50:44 +01:00
Stéphane Adjemian (Charybdis)
cc34e16458
Set temporarily mode_compute and mh_replic to zero if estim_params_ is empty.
2017-03-16 15:45:08 +01:00
Stéphane Adjemian (Charybdis)
cad7adc01f
Added routine for testing if we are currently estimating a model.
2017-03-16 15:03:46 +01:00
Stéphane Adjemian (Charybdis)
5f5c093b2e
Renamed isestimation function + Cosmetic changes.
2017-03-16 15:00:02 +01:00
Stéphane Adjemian (Charybdis)
feee6f8b7a
Fixed typo.
2017-03-15 17:24:45 +01:00
Stéphane Adjemian (Charybdis)
284df20445
Closes #1403 .
2017-03-15 16:51:59 +01:00
Stéphane Adjemian
d0ab90275b
Merge pull request #1402 from JohannesPfeifer/prior_asymptote
...
Add warning if prior has an asymptote
2017-03-15 16:33:10 +01:00
Stéphane Adjemian (Charybdis)
1ff816d7bf
Updates particles submodule.
2017-03-15 16:30:29 +01:00
Houtan Bastani
e2b30857a0
preprocessor: split equation output into lhs and rhs. #1387
2017-03-15 12:52:55 +01:00
Stéphane Adjemian (Charybdis)
4f3b35acba
Account for Matlab 2017a.
...
(cherry picked from commit f3a1619040fbb831830791424015d3d3bf8bdbae)
2017-03-13 23:42:48 +01:00
Houtan Bastani
425bab1461
preprocessor: write JSON output for cross refs #1387
2017-03-10 17:28:25 +01:00
Houtan Bastani
9f7b084970
Merge branch 'master' into json
2017-03-10 17:20:15 +01:00
Houtan Bastani
99d948463e
Revert "preprocessor: write equation cross references in JSON. #1387"
...
This reverts commit 0ccc82300c
.
2017-03-10 17:18:41 +01:00
Houtan Bastani
ea13b12cf2
preprocessor: add lag info to equation cross references. closes #1398
2017-03-10 16:59:52 +01:00
Johannes Pfeifer
87fc09863d
Add warning if prior has an asymptote
...
Can happen with beta and gamma distribution. Closes #1401
2017-03-10 15:16:33 +01:00
Houtan Bastani
38f36091a9
test suite: increase timeout option for downloading files to 30 seconds
2017-03-08 12:30:58 +01:00
Houtan Bastani
7341ca4e6d
Merge pull request #1399 from JohannesPfeifer/dname
...
Fix check for existence of dname variable
2017-03-07 13:58:29 +01:00
Johannes Pfeifer
56edaf5cb0
Fix check for existence of dname variable
2017-03-07 13:55:29 +01:00
Houtan Bastani
0ccc82300c
preprocessor: write equation cross references in JSON. #1387
2017-03-06 16:34:08 +01:00
Houtan Bastani
defe06d513
preprocessor: create two different static and dynamic files with the option jsonprintderivdetail. #1387
2017-03-03 14:42:37 +01:00
Houtan Bastani
5063020c5d
Merge branch 'master' into json
2017-03-03 14:42:25 +01:00
Houtan Bastani
f500b8385d
preprocessor: make JSON output start counting at 1 instead of 0. #1387
2017-03-02 17:34:34 +01:00
Houtan Bastani
33b38ab643
preprocessor: write error messages to cerr instead of cout, replace \n with endl
2017-03-01 12:44:31 +01:00
Houtan Bastani
2d25858886
preprocessor: fix bug that caused temporary terms not to be printed for the parameter derivatives of the static model. closes #1397
2017-03-01 12:20:55 +01:00
Houtan Bastani
ed3e74994f
preprocessor: add onlyjson option to allow exit upon writing of JSON output. #1387
2017-02-28 14:34:22 +01:00
Houtan Bastani
5e5a9e3b9a
preprocessor: JSON output aesthetic fixes, support planner objective. #1387
2017-02-27 15:40:34 +01:00