Commit Graph

106 Commits (8159e786338678500feed6e20b10a5c51c845eae)

Author SHA1 Message Date
sebastien 8159e78633 trunk preprocessor: save M_ in the _results.mat file
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2292 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-05 11:24:57 +00:00
sebastien 4a28394ab3 trunk: added a warning if dr_algo=0 is specified, and an error if dr_algo=1 is specified
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2290 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-05 11:19:30 +00:00
ferhat c93cc6bf5c - factorization of simulation methods for static m-file
- correction of bugs in resid.m

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2280 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-02 21:29:43 +00:00
sebastien f6a330b2dc trunk preprocessor: removed obsolete global variables
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2272 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-11-25 14:40:51 +00:00
sebastien 35cc9ac1ff trunk preprocessor: compilation fix for Linux/Unix systems
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2270 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-11-24 10:55:37 +00:00
ferhat 5cd35e1d9e - factorization of simulation methods in dynamic m-file
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2266 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-11-21 17:40:52 +00:00
sebastien 90ab0e133d trunk preprocessor: added missing headers in IncidenceMatrix.cc (otherwise fails to compile with gcc 4.3)
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2259 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-11-17 09:10:38 +00:00
ferhat 2201b943da Correction of few bugs in IncidenceMatrix, BlockTriangular and ModelTree
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2258 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-11-16 18:02:52 +00:00
ferhat 09ebde2496 - separated file for the IncidenceMatrix class
- List of incidence matrix handled with a map instead of a chained list

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2257 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-11-14 20:12:59 +00:00
ferhat a67a20bf66 - new Incidence_Matrix class
- lead and lag on exogenous variables
- corrections in dr1_sparse and dr11_sparse
- minor corrections in simulate

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2255 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-11-14 16:07:47 +00:00
sebastien 011944221c trunk:
* fixed displaying of subtitles when HP filter is present
* fail if HP filter required on empirical simulations (not yet implemented)


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2237 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-11-04 11:00:54 +00:00
sebastien fef65c8c0b trunk preprocessor: fail if order > 1 given for ramsey_policy
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2236 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-11-04 10:52:06 +00:00
sebastien 856c0b53a1 trunk: fixed preprocessor crash when there is an unexpected end of file
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2234 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-11-04 09:14:58 +00:00
sebastien 9cb1e4c07a trunk preprocessor: fixed bug when both "simul" and "periods" options are given to stoch_simul
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2232 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-11-03 16:35:40 +00:00
sebastien 813e46ed73 trunk preprocessor: for better compliance with C standard:
* replaced all occurrences of "exit(-1)" by "exit(EXIT_FAILURE)"
* return EXIT_SUCCESS at the end of main()


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2229 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-29 15:33:16 +00:00
sebastien 498aae67bf trunk preprocessor:
* added "notmpterms" to usage notice
* fail when unknown option is given


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2227 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-29 15:19:56 +00:00
sebastien fad44096a0 trunk preprocessor: added option "notmpterms" to dynare command, for disabling temporary terms in static and dynamic files
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2226 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-29 15:10:51 +00:00
ferhat 22bf852e1b Bugs correction in check command with sparse option in model command
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2196 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-24 16:35:06 +00:00
sebastien 61dc27f54d trunk preprocessor/ModelTree.cc:
* fixed compilation problem related to temporary integer
* removed unused variable


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2179 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-19 16:21:05 +00:00
ferhat dc5cced1c8 - Adding SOLVE_FORWARD_COMPLETE and SOLVE_BACKWARD_COMPLETE simulation type for sparse model option
- Adding dyn2vec at the end of a deterministic simulation with sparse or sparse_dll option

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2178 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-19 15:44:08 +00:00
sebastien 623bde1b56 trunk preprocessor: removed LCC_COMPILER and GCC_COMPILER options of SPARSE_DLL mode
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2177 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-17 17:21:22 +00:00
sebastien be2622e404 trunk preprocessor: added some comments
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2176 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-17 17:15:23 +00:00
ferhat a3a39d0a26 Suppress the addpath command before the call to Bicgstab
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2174 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-17 15:30:47 +00:00
sebastien 113d7e1140 trunk preprocessor: allow zero equation if standalone BVAR estimation
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2170 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-17 12:52:08 +00:00
sebastien a8fa313ced trunk preprocessor: added error message if model local variable (pound sign expression) used outside model scope
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2168 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-17 12:22:35 +00:00
sebastien 0794065726 trunk preprocessor: removed unused recursive variable type
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2167 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-17 11:54:35 +00:00
sebastien 48bc89a90a trunk preprocessor: renamed "Type" to "SymbolType" for the sake of clarity
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2166 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-17 10:20:19 +00:00
sebastien 1f515ea54b trunk preprocessor:
* added some comments
* created enumerations for block type and block simulation type


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2165 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-17 10:11:54 +00:00
sebastien 8b899ad806 trunk preprocessor:
* forbid lead/lag on model local variables (constructed with pound sign)
* forbid unknown function names in model block
* code simplication


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2147 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-13 16:44:20 +00:00
sebastien a399b8e440 trunk:
* DynareBison.yy: use "filename" rule for initval_file, dynasave, dynatype and datafile option
* DynareBison.yy: removed some spurious syntaxes for dynatype and dynasave
* ComputingTasks.cc: bugfix for dynatype
* cosmetic changes to dynatype.m and dynasave.m


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2145 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-13 16:06:07 +00:00
michel 3d21bb422e Fix parentheses error in corr expression in shocks block
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2130 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-02 08:05:11 +00:00
sebastien dd57481c78 trunk preprocessor:
* fail if no. of equations is different from no. of endogenous (unless ramsey_policy is used)
* more fields in the ModFileStructure class
* cosmetic changes


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2121 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-29 10:16:13 +00:00
sebastien 7ea3770a26 trunk: removed remnants of dr_algo option
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2118 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-26 16:49:51 +00:00
sebastien 622b8c14be trunk: renamed sec2hms.m to dynsec2hms.m (name collision with Matlab package)
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2116 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-26 16:26:21 +00:00
sebastien fe5de6d8dd trunk:
* added back model_comparison logic
* added QUOTED_STRING token in lexer
* added filename rule in parser (filename is NAME or QUOTED_STRING)


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2115 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-26 16:24:13 +00:00
sebastien fe07f798e9 undoing r2110 and r2111 changesets
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2112 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-25 12:29:35 +00:00
adjemian 41375b7c04 v4.1: Added Model comparison. Not yet ready but can be used. The preprocessor, surprisingly, seems to sort the compared models (listed after the model_comparison command) by decreasing order of the model names (including path and extension).
TODO: 
+ Add an option to define the benchmark model (bayes ratio).
+ Add comparison to estimated BVAR models.

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2110 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-24 21:52:11 +00:00
michel ac09955176 changed name of function called for normcdf
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2091 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-22 18:58:04 +00:00
sebastien ad67acacd9 trunk: merge r2076 changeset from 4.0 branch
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2077 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-15 13:40:02 +00:00
michel 0ad68a9b2d bugs correction for exo_det
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2067 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-14 16:36:58 +00:00
sebastien 72bac2d6fd v4.1 preprocessor:
* refactored code for the standard normcdf()
* cosmetic changes


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2035 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-04 08:10:42 +00:00
michel 35aef658f1 added short cut for standardized cummulative normal distribution
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2030 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-04 01:01:36 +00:00
sebastien 58753c27ef v4 preprocessor: allow option "order" in "estimation" statement
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2021 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-02 16:15:15 +00:00
ferhat b53c58dd7b Minor corrections:
- Bug in check.m with model without sparse options
- Display in simulate.dll
- "Model_InfoStatement" renamed "Model_InfoStatement" in ComputingTasks

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2010 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-08-29 12:31:25 +00:00
ferhat 8be3bf20e6 - Bugs and memory leak correction
- implementation of model_info command

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2007 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-08-28 13:20:34 +00:00
michel 39b19c5bae add an upper bound to loops in VariableTable::computeDynJacobianCols()
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1997 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-08-25 19:57:21 +00:00
sebastien bc2348f0b7 v4 preprocessor:
* DynareBison.yy: added missing declaration of MODEL_INFO as a token
* various cosmetic changes


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1995 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-08-25 16:45:39 +00:00
ferhat 0e9ab2ebf4 - Bugs corrections in deterministic simulation with sparse option
- Check allowed with sparse option
- New command "MODEL_INFO" providing informations about the block structure of the model
- Memory leak corrections

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1993 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-08-25 15:06:36 +00:00
sebastien 43c5fd18e6 v4 preprocessor:
* fixed bug related to column numbering of exogenous variables in dynamic jacobian
* gave more explicit names to some methods in VariableTable, and other cosmetic changes


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1990 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-08-24 10:54:20 +00:00
sebastien ead500e4b0 v4 preprocessor: removed unnecessary round() before call to sec2hms()
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1989 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-08-24 10:41:46 +00:00