Commit Graph

6800 Commits (7ada720e7b0b212141a8fd28e6837f0cfca4a67b)

Author SHA1 Message Date
Sébastien Villemot 7ada720e7b Bump version number 2013-12-02 17:55:10 +01:00
Sébastien Villemot 5031f9efc0 Cleanup more preprocessor-generated files at each run 2013-12-02 17:22:16 +01:00
Sébastien Villemot 3d525c39f2 Fix block/bytecode tests under Octave 2013-12-02 17:22:16 +01:00
Sébastien Villemot cf6f5915e0 Fix bug with DSGE-VAR introduced in f7cdc39f 2013-12-02 17:22:16 +01:00
Houtan Bastani 22949820be bug fix: close unclosed file id, #438 2013-12-02 12:34:09 +01:00
Sébastien Villemot d8d0f2b8cc Revert cosmetic change of 4fa2d5b 2013-11-29 23:09:51 +01:00
Stéphane Adjemian (Scylla) dc3bcb47bf Cosmetic (removed commented line of code). 2013-11-29 19:06:26 +01:00
Stéphane Adjemian (Scylla) a6a10055da Fixed bug (problem with dates selection in @dseries::subsref). 2013-11-29 19:02:40 +01:00
Stéphane Adjemian (Scylla) e1bff2c885 Adapted unitary tests for octave. 2013-11-29 19:02:40 +01:00
Stéphane Adjemian (Scylla) 59f1967347 Adapted unitary test for octave. 2013-11-29 19:02:40 +01:00
Stéphane Adjemian (Scylla) 67d71a628b Fixed bug (isscalar does not assume that the input is numeric). 2013-11-29 19:02:40 +01:00
Stéphane Adjemian (Scylla) e615f00bec Fixed bug in unitary test (due to a change of behaviour introduced last week by Houtan). 2013-11-29 19:02:40 +01:00
Stéphane Adjemian (Scylla) ee506c4ebe Added new routine to test if a global variable exist in the base workspace. 2013-11-29 19:02:40 +01:00
Stéphane Adjemian (Scylla) 4f71d74512 Bug fix (wrong handle). 2013-11-29 19:02:40 +01:00
Stéphane Adjemian (Scylla) 121aa5038c Bug fix. Input must be numeric in the first place. 2013-11-29 19:02:40 +01:00
Stéphane Adjemian (Scylla) 0419aa00e2 Cosmetic change (use isdates routine). 2013-11-29 19:02:40 +01:00
Stéphane Adjemian (Scylla) 8eb45edb92 Fix for Octave (need to add extension of the m script). 2013-11-29 19:02:40 +01:00
Sébastien Villemot c1c656f4d9 Fix config of warnings in @dseries/cumsum tests 2013-11-29 17:16:17 +01:00
Sébastien Villemot 330dca7d36 Forbid the use of trend variables in expressions outside the model block 2013-11-29 16:29:25 +01:00
Sébastien Villemot 839ae22b1f Add a warning when some exogenous are not used in the model 2013-11-29 16:03:45 +01:00
Sébastien Villemot ed2f6d62c1 Refactor code for collecting variables appearing in expressions
- rename ExprNode::collectVariables in ExprNode::collectDynamicVariables
- new ExprNode::collectVariables: same as above, but without lag information
- remove ExprNode::findUnusedEndogenous: essentially redundant with the above)
- remove ExprNode::collectModelLocalVariables: idem
2013-11-29 15:37:11 +01:00
Sébastien Villemot f7cdc39ff2 Refuse that estimated parameters appear in the expressions defining the variance/covariance matrix of shocks
Closes #469
2013-11-29 14:51:17 +01:00
Stéphane Adjemian (Scylla) 45c117fbff Fixed bug in Matlab unitary tests. Wrong dimension for returned infor variable (missing column for execution time). 2013-11-29 11:46:07 +01:00
Stéphane Adjemian (Scylla) 6e8bd16cf6 Do not define LOG if Matlab unitary tests are run from Octave. 2013-11-29 11:46:07 +01:00
Stéphane Adjemian 1deb04771a Merge pull request #547 from JohannesPfeifer/fix_typo_tex
Correct name of output folder in writing TeX-Code
2013-11-29 01:53:33 -08:00
Johannes Pfeifer ec9c32d2b7 Correct name of output folder in writing TeX-Code 2013-11-29 10:25:25 +01:00
Sébastien Villemot d212197ecb Fix incorrect usage of @xref 2013-11-28 16:25:40 +01:00
Sébastien Villemot d3175b75a9 Add newline at the end of CSV files.
csv2cell from octave-io package has a bug (in versions < 1.2.2): it enters an
infinite loop when reading CSV files without a newline at the end.
2013-11-28 16:25:40 +01:00
Stéphane Adjemian (Scylla) 01f2dd2ab1 Changed the paths to Dynare's prior and post processing hooks. 2013-11-28 15:21:52 +01:00
Stéphane Adjemian (Scylla) 1ff556ada2 Give more informations if the mod file is not found in the current directory. 2013-11-28 14:49:42 +01:00
Stéphane Adjemian (Scylla) baa596f9be Give more details if the mod file is not found in the current directory. 2013-11-28 11:07:14 +01:00
Stéphane Adjemian (Scylla) 4fa2d5b8e9 Added comments and cosmetics. 2013-11-28 10:57:54 +01:00
Stéphane Adjemian (Scylla) be4a53e4fa Same as commit #ee91c7654ff753728850e68366c60fe1be33ebb3 for estimation. 2013-11-28 10:54:15 +01:00
Stéphane Adjemian (Scylla) ee91c7654f Return a human readable message error if order=0 (stoch_simul). 2013-11-28 10:51:20 +01:00
Stéphane Adjemian (Scylla) edb4398e28 Merge branch 'master' into fix-mcmc-algorithm 2013-11-27 17:57:36 +01:00
Stéphane Adjemian (Scylla) 0a07cf3c61 Closes #543. 2013-11-27 16:43:00 +01:00
Stéphane Adjemian (Scylla) 130125c5da Changed the error message issued when the initial conditions for the estimated parameters are outside the bounds (the error message depends on the value of options_.prior_trunc). 2013-11-27 12:27:51 +01:00
Stéphane Adjemian (Scylla) fb487bc87e internals --display-mh-history displays the overall acceptance ratios (ie using all the mcmc draws saved on disk) instead of the current acceptance ratios (ie using the mcmc draws generated by the last estimation command). Graphical and text waitbars display the current acceptance ratios. The current acceptance ratios are saved in the mh-history files. 2013-11-27 11:56:38 +01:00
Stéphane Adjemian (Scylla) c92c5c7fb9 Cosmetic change. Renamed "acceptation rates" as "acceptance ratios". 2013-11-27 11:34:49 +01:00
Sébastien Villemot 4e4fc2ffdb Use load_xls_file_data in read_variables (for consistency with CSV) 2013-11-26 18:19:48 +01:00
Sébastien Villemot 36ec2561bf load_xls_file_data: under Octave, fail gracefully if io is not present 2013-11-26 18:19:48 +01:00
Sébastien Villemot 93416a93da Improvements in load_csv_file_data
* autodetect whether there are variable names and dates in the file
 * optimize under Octave, using csv2cell and parcecell from io package
2013-11-26 18:19:48 +01:00
Houtan Bastani eb75397e0f fix try / catch statement in tests for octave 2013-11-26 17:35:27 +01:00
Houtan Bastani 0d4d085447 fix try / catch statement for octave 2013-11-26 17:22:01 +01:00
Houtan Bastani 9454862142 internals: replace % for both matlab and octave with %% 2013-11-26 16:55:04 +01:00
Stéphane Adjemian (Scylla) b8c6e4bb01 Merge branch 'master' into fix-mcmc-algorithm 2013-11-26 16:53:27 +01:00
Stéphane Adjemian (Scylla) 84982652a0 Changed chapter nine. Description of internals command. 2013-11-26 16:51:49 +01:00
Houtan Bastani 89268f4f6f internals test: fix printing for octave 2013-11-26 15:29:23 +01:00
Stéphane Adjemian (Scylla) 10150a081d Bug fix (internals command with --load-mh-history option). 2013-11-26 14:03:11 +01:00
Stéphane Adjemian (Scylla) bd630d7210 Removed MC_record field from oo_ structure and the output argument from MCMC routines.
Details about the MCMC can be loaded in the workspace with the following command:

>> internals --load-mh-history <NAME_OF_THE_MOD_FILE>

under the name mcmc_informations, or printed in the command window, using the following
command:

>> internals --display-mh-history <NAME_OF_THE_MOD_FILE>
2013-11-26 12:56:41 +01:00