Stéphane Adjemian (Scylla)
1e4c2e0881
Fixed bug affecting prior restictions (removed the extension in the argument of str2func).
2014-07-28 13:02:10 +02:00
Houtan Bastani
7387237a5b
reporting: option to suppress reporting output. closes #688
2014-07-25 14:38:30 +02:00
Stéphane Adjemian (Scylla)
916fe62218
Fixed bug. Test on multiple declaration of observed variables was wrong.
2014-07-24 17:53:20 +02:00
Marco Ratto
a6bddb2d57
Improve computation of outer product gradient for univariate Kalman algorithms, by exploiting the larger number of individual densities computed during recursions (used in optimizer number 5).
2014-07-23 16:33:39 +02:00
Johannes Pfeifer
4c6aad3d2d
Fix bug in dynare_identification.m that led to missing output and crashes if the initial parameterization was invalid
...
If the initial parameters did not solve, the code for displaying results and saving was not reached. The also led to later crashes with saving as the -append option was used and no file existed. If no valid draw can be found, the function exits in any case, so no additional check is needed.
2014-07-23 12:10:00 +02:00
Johannes Pfeifer
bf69cee91f
Set missing argument in makedataset.m that leads to crashes with GSA
...
Fixes the recent problem with unit tests
2014-07-23 12:05:45 +02:00
Stéphane Adjemian (Scylla)
0efcef8f20
Added the possibility to declare non linear prior restrictions over estimated parameters.
...
If a file <MOD_FILE_NAME>_prior_restrictions.m exists in current folder, the value returned by this routine is
substracted to fval (likelihood-lnprior) at the end of dsge_likelihood. The arguments of this routine are: M_,
oo_, options_, dataset_ and dataset_info. Routines for writing <MOD_FILE_NAME>_prior_restrictions.m will be
provided later.
2014-07-21 12:45:49 +02:00
Stéphane Adjemian (Charybdis)
871fa6aa86
Issue a warning if conditional forecasts are computed with correlated innovations (if these correlations are defined in the covariance matrix of the innovations).
2014-07-18 18:36:02 +02:00
Johannes Pfeifer
36222cb40d
Account for presence of Lagrange multipliers and auxiliary equations in display_problematic_vars_Jacobian.m
2014-07-18 14:05:12 +02:00
Johannes Pfeifer
27572277d0
Test the result of steady state computation for correctness
...
- Checks correctness of steady state file
- Tests whether result of computation really is a steady state
- Also eliminates case that can never be reached
2014-07-18 13:18:14 +02:00
Johannes Pfeifer
7c09435e5e
Fix bug in dyn_ramsey_static.m with steady state file that resulted in incorrect steady state when running twice
...
The x returned by a steady state file includes Lagrange multipliers. When starting with 0 multipliers, the steady state of the multipliers is computed correctly. But when running it a second time like in a subsequent call to stoch_simul, the algorithm thinks that elements of xx are 0 which they aren't. As a result, it finds minus the multiplier as the solution, resulting in an output of 0 for all multipliers.
2014-07-18 12:35:52 +02:00
Johannes Pfeifer
3f72f394aa
Cosmetic fixes to dyn_ramsey_static.m
...
Also makes sure that the check flag is returned and the steady state file always called if it exists. Otherwise, parameters might not be updated and NaN not detected.
2014-07-18 08:53:51 +02:00
Stéphane Adjemian (Scylla)
49e53f9299
Added isdiagonal routine.
2014-07-17 22:05:08 +02:00
Stéphane Adjemian (Scylla)
3f496b494d
Moved routines under utilities folder.
2014-07-17 22:05:08 +02:00
Stéphane Adjemian (Scylla)
71df21bf0d
Fixed issue induced by the merge of 74fd0850d61f8ba464ff08ed42c4019d27722fb3 in master (changed DynareDataset field name).
2014-07-17 22:05:08 +02:00
Johannes Pfeifer
b69174477c
Add more info on requirement on dsge_var prior weight needed for prior to be proper.
...
(cherry picked from commit 74fd0850d61f8ba464ff08ed42c4019d27722fb3)
2014-07-17 22:05:08 +02:00
Johannes Pfeifer
fbdfaf640a
Document computation of theoretical mean at second order
...
(cherry picked from commit 7084913382dc892fa4385fb7783e5daec41449f7)
2014-07-17 22:05:08 +02:00
Stéphane Adjemian (Scylla)
afb5be2067
Set options_.nobs if the new data interface is used.
2014-07-17 22:05:08 +02:00
Stéphane Adjemian (Scylla)
5b08223820
Changed default value of initial_period (NaN).
2014-07-17 22:05:08 +02:00
Stéphane Adjemian (Scylla)
afbd0bd47a
Cosmetic change (added white space).
2014-07-17 22:05:08 +02:00
Stéphane Adjemian (Scylla)
863fe4998f
Fixed typo/bug (removed space).
2014-07-17 22:05:08 +02:00
Stéphane Adjemian (Scylla)
1a98943651
Fixed bug (tex names with underscores were not correctly saved in m datafile).
2014-07-17 22:05:08 +02:00
Stéphane Adjemian (Scylla)
a261c3bbce
Fixed bug. The instantiation of a dseries object with a file name (for the datafile) and a string (for the initial period) was not working correctly.
2014-07-17 22:05:08 +02:00
Stéphane Adjemian (Scylla)
7b089ec2b3
Cosmetic change. Renamed nobs as vobs.
2014-07-17 22:05:07 +02:00
Stéphane Adjemian (Scylla)
e5a419ecaf
Removed reference to options_.nobs
2014-07-17 22:05:07 +02:00
Johannes Pfeifer
04554967fc
Fix bug in imcforecast.m where covariance matrix was decomposed element-wise instead of via Cholesky.
2014-07-17 22:05:07 +02:00
Johannes Pfeifer
bf674fa59f
Deal with cases where too few draws are available for posterior moments
2014-07-17 22:05:07 +02:00
Johannes Pfeifer
b9aa971d73
Add description for conditional_forecasts
2014-07-17 22:05:07 +02:00
Sébastien Villemot
064c1bb8fc
Clarify license of LMMCP.
...
Closes #680
2014-07-10 14:24:41 +02:00
Houtan Bastani
179e8b867a
reporting: bug fix. closes #673
2014-07-09 15:46:28 +02:00
Houtan Bastani
34610ad4eb
reporting: fix bug in creating table when data option is passed to constructor
2014-07-09 15:46:28 +02:00
Stéphane Adjemian (Charybdis)
94b87beb10
Fixed bug (missing code for handling prefilter=1).
2014-07-09 15:34:53 +02:00
Stéphane Adjemian (Charybdis)
03975f7d01
Fixed bug (wrong definition of rawdata).
2014-07-09 15:34:53 +02:00
Stéphane Adjemian (Charybdis)
57c583867b
Added new method @dseries/detrend.
2014-07-09 15:34:53 +02:00
Houtan Bastani
946bf4f5e2
reporting: modify depricated method of changing font (thanks to Dirk Muir for the solution)
2014-07-08 16:12:17 +02:00
Sébastien Villemot
7400c2c143
evaluate_steady_state.m: fix bugs when static and dynamic models differ.
...
Closes #661
2014-07-08 16:10:09 +02:00
Sébastien Villemot
def9ee92e5
Steady state calculation of Ramsey problem: fix bug when params are updated.
...
If the steady state file was modifying parameters, the changes were not taken
fully taken into account.
Thanks to Junior Maih for noticing and proposing the fix.
2014-07-08 15:06:26 +02:00
Stéphane Adjemian (Charybdis)
9c733de40a
Added unitary tests.
2014-07-08 14:06:55 +02:00
Michel Juillard
4613fb2bf4
Adding initialization for lmmcp options
2014-07-08 13:53:18 +02:00
Houtan Bastani
a64ded92cd
dseries: fix subtraction bug. closes #686
2014-07-08 12:06:27 +02:00
Sébastien Villemot
658151aa48
Merge pull request #682 from JohannesPfeifer/model_comparison
...
Filter out ML of model_comparison.m
2014-07-07 18:18:38 +02:00
Sébastien Villemot
24ec8e2b81
Merge pull request #685 from JohannesPfeifer/Load_Excel
...
Account for loading of only one variable when loading Excel-file
2014-07-07 18:15:04 +02:00
Houtan Bastani
ad00875cf6
reporting: graph: add option yTickLabelScaled
2014-07-07 16:49:53 +02:00
Houtan Bastani
9fc4d62264
reporting: remove unused graphSize option
2014-07-07 10:29:09 +02:00
Houtan Bastani
535168850a
reporting: add option to suppress compiler output
2014-07-07 09:49:12 +02:00
Houtan Bastani
21f9b98d6c
reporting: add option to open report at end of compilation
2014-07-07 09:45:34 +02:00
Houtan Bastani
a97197c445
reporting: rework option handling for compile.m
2014-07-07 09:45:25 +02:00
Houtan Bastani
9872fe69c0
reporting: fix bug with end tabular/end landscape
2014-07-04 16:46:09 +02:00
Johannes Pfeifer
9f793d1069
Account for loading of only one variable when loading Excel-file
...
Closes #654
2014-07-04 13:44:48 +02:00
Stéphane Adjemian (Charybdis)
779364c35d
Fixed bug and added unit tests (force the variables in mat files to be in column vectors).
2014-07-03 11:35:46 +02:00
Stéphane Adjemian (Charybdis)
0c98ba67f6
Fixed bug and added unitary tests.
2014-07-02 16:08:08 +02:00
Johannes Pfeifer
7f15295cda
Add saving of parameter names to make loading of mh_mode-file compatible with mode_file option
2014-07-02 15:20:07 +02:00
Stéphane Adjemian (Scylla)
1b36d75947
Rewrote @dates/size and @dseries/size (compatibility fix for Octave).
2014-07-02 12:20:19 +02:00
Johannes Pfeifer
85f336496d
Filter out ML of model_comparison.m
...
Also documents that ML is not supported and adds reference for model comparison
Related to #681
2014-07-01 18:50:24 +02:00
Sébastien Villemot
6ceecd1cf6
Tighten convergence criterion of trust region.
...
Closes #666
2014-07-01 18:43:16 +02:00
Sébastien Villemot
f4f7b8d0a1
Merge pull request #660 from JohannesPfeifer/mode_file
...
Restore backward compatibility of mode_file option
2014-07-01 18:00:48 +02:00
Sébastien Villemot
40ea09644b
Merge pull request #668 from JohannesPfeifer/loglinear
...
Fix two bugs in resol that lead to crashes instead of error messages when...
2014-07-01 17:59:20 +02:00
Sébastien Villemot
939fb78624
Merge pull request #663 from JohannesPfeifer/master
...
Bugfix and cosmetic fix
2014-07-01 17:56:48 +02:00
Stéphane Adjemian (Charybdis)
daf4cb1491
Added unitary tests.
2014-06-27 23:12:05 +02:00
Stéphane Adjemian (Charybdis)
a8cb8ccd29
Merge branch 'use-dseries'
2014-06-27 22:38:07 +02:00
Stéphane Adjemian (Charybdis)
9c92b20f33
Added unitary test.
2014-06-27 22:36:10 +02:00
Stéphane Adjemian (Charybdis)
a5ea76d58c
Do not issue an error message if the dseries appearing in the recursive/static expression do have common names.
2014-06-27 22:29:57 +02:00
Stéphane Adjemian (Scylla)
20e64aa88c
Fix for empty and nan fields.
2014-06-27 18:41:04 +02:00
Stéphane Adjemian (Scylla)
d5e873f01f
Fixed bug (missing argument).
2014-06-27 18:40:09 +02:00
Stéphane Adjemian (Scylla)
684b6b8c04
Fixed bug in osr.
2014-06-27 18:39:39 +02:00
Stéphane Adjemian (Scylla)
81541ac058
Fixed unitary test.
2014-06-27 18:39:18 +02:00
Houtan Bastani
87b4254ce5
reporting: remove checks on colors that are passed to graphs/series to allow for all color combinations supported by TikZ
2014-06-27 17:06:45 +02:00
Houtan Bastani
56d861787b
fix typo
2014-06-27 16:26:34 +02:00
Houtan Bastani
638297f4b8
add missing semicolon
2014-06-27 16:18:05 +02:00
Houtan Bastani
0ef65bc296
reporting: graph: add option tickFontSize
2014-06-27 15:56:06 +02:00
Stéphane Adjemian (Scylla)
a29a4d0842
Removed unitary test (needs to be fixed).
2014-06-26 16:09:50 +02:00
Stéphane Adjemian (Scylla)
4359eb6dad
Adapted ms sbvar codes (options_.varobs is a row cell array of strings).
2014-06-26 16:07:45 +02:00
Stéphane Adjemian (Scylla)
62e28dac94
Use makedataset in condition forecast routine.
2014-06-26 10:55:54 +02:00
Houtan Bastani
c23bb31252
reporting: add graph option to change title font size
2014-06-25 16:30:04 +02:00
Stéphane Adjemian (Scylla)
03395a7425
Fixed bug. Wrong test on the number of input arguments (because of the new input argument dataset_info in dsge_likelihood).
2014-06-25 14:57:20 +02:00
Stéphane Adjemian (Scylla)
38df13bb92
Fixed bug (options_.varobs is a row cell array of strings).
2014-06-25 14:49:49 +02:00
Stéphane Adjemian (Scylla)
0b82874268
Adapted madataset routine for Gsa.
2014-06-25 11:34:39 +02:00
Stéphane Adjemian (Scylla)
18eb81da55
Fixed bug in filt_mc_ (gsa) routine (dataset_.dat need to be transposed).
2014-06-25 11:28:49 +02:00
Stéphane Adjemian (Scylla)
904b8025f3
Adapted dynare_sensitivity routine (options_.varobs is a row cell array of strings).
2014-06-25 11:27:12 +02:00
Houtan Bastani
f2b4de1d8a
reporting: support a different shape for the axis in a graph
2014-06-24 15:51:29 +02:00
Houtan Bastani
7ccd26a17e
dseries: remove strsplit as it was introduced in Matlab R2013a
2014-06-24 12:10:59 +02:00
Stéphane Adjemian (Scylla)
b7cf6338db
Adapted evaluate_likelihood routine.
2014-06-23 17:11:01 +02:00
Stéphane Adjemian (Scylla)
06f74c4603
Cosmetic change.
2014-06-23 16:06:58 +02:00
Stéphane Adjemian (Scylla)
800de3fcc9
Fixed bug (varobs is a field of options_).
2014-06-23 16:06:29 +02:00
Stéphane Adjemian (Scylla)
a0907b2e05
Merge branch 'master' into use-dseries
2014-06-23 15:15:48 +02:00
Stéphane Adjemian (Scylla)
40a60e92fa
Fixed bug when loaded m file data is not in the current folder or a subfoler.
2014-06-23 13:54:52 +02:00
Stéphane Adjemian (Scylla)
11f00d041e
Fixed bug (options_.varobs is a row cell array of strings) + Cosmetic changes.
2014-06-23 12:53:39 +02:00
Stéphane Adjemian (Scylla)
195a3f8fff
Fixed bug (missing transposition).
2014-06-23 12:52:44 +02:00
Stéphane Adjemian (Scylla)
d727ba7246
Fixed bug (missing input).
2014-06-23 12:24:36 +02:00
Stéphane Adjemian (Scylla)
0cb1b6795b
Fixed bug in set_prior routine (options_.varobs is a cell array of strings).
2014-06-23 12:24:17 +02:00
Stéphane Adjemian (Scylla)
f6ce89260a
Adapted posterior IRFs routines.
2014-06-23 11:08:48 +02:00
Stéphane Adjemian (Scylla)
b11f6e2505
Adapted code for dsge-var models.
2014-06-23 10:55:08 +02:00
Michel Juillard
21d40f6123
fixed minor bug in stochastic extended path
2014-06-21 10:06:01 +02:00
Houtan Bastani
6733c83ff5
reporting: add graph option: zeroLineColor
2014-06-20 15:41:11 +02:00
Stéphane Adjemian (Scylla)
91d74fabb3
Cosmetic changes.
2014-06-20 11:57:46 +02:00
Stéphane Adjemian (Scylla)
50e42777b2
Adapted simplex routine.
2014-06-20 11:27:06 +02:00
Stéphane Adjemian (Scylla)
304ea02a53
Adapted newrat routines (adding dataset_info).
2014-06-20 11:21:30 +02:00
Stéphane Adjemian (Scylla)
e4cd72b5b6
Fixed typo.
2014-06-20 11:20:27 +02:00
Stéphane Adjemian (Scylla)
788c528c84
Merge branch 'master' into use-dseries
2014-06-19 18:13:35 +02:00
Stéphane Adjemian (Scylla)
f5c2027e18
Do not impose the equality between the initial period as defined by the set_time command and the date of the initial observation defined in the datafile or dseries object.
2014-06-19 18:02:31 +02:00