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
sebastien
08c0962c83
v4 matlab:
...
* added preprocessor support for inverse gamma of type 2
* added support for this distribution in prior_bounds.m and rndprior.m
* other cosmetic changes
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1983 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-08-05 10:48:04 +00:00
sebastien
a790ff4d3c
v4 doc: enhanced build system for all documents (except the userguide which we can't recompile at this stage, since some components are lacking in the SVN)
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1948 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-09 20:36:40 +00:00
sebastien
c346135dc2
v4 doc: enhanced build system for all documents (except the userguide which we can't recompile at this stage, since some components are lacking in the SVN)
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1948 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-09 20:36:40 +00:00
sebastien
5123469c3a
v4 doc: added macroprocessor slides
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1933 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-04 14:30:46 +00:00
michel
ccc5070b8b
added diffuse_filter option
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1916 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-02 09:33:58 +00:00
sebastien
f43efe0c12
v4 preprocessor mex: various minor fixed to ensure correct compilation under g++ 4.3
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1906 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-06-28 11:20:45 +00:00
sebastien
bfac26ce73
v4: merged Octave branch into trunk
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1899 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-06-24 18:20:48 +00:00
sebastien
02400ca139
v4 preprocessor: use GNU make's standard variables names and default values for g++ (CXX) and ar (AR)
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1885 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-06-19 16:39:23 +00:00
sebastien
e0510d4a49
v4: dropped Scilab support
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1878 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-06-16 16:33:28 +00:00
sebastien
f18f91fe40
v4 matlab+preprocessor:
...
* removed global variables from "static" and "dynamic" files (in standard and USE_DLL modes only)
* added extra arguments when those functions are called from M-files
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1859 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-06-06 14:01:02 +00:00
michel
5fe6b5f74a
v4: fixed bugs for dynasave
...
updated dynare_m.exe
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1819 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-05-02 13:54:59 +00:00
michel
b5089f2086
v4: added forecast, updated dynare_m.exe
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1812 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-05-01 12:04:48 +00:00
sebastien
25b93ed5b7
v4 preprocessor: removed unused bits of code
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1811 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-04-29 15:15:35 +00:00
sebastien
74fa654047
v4 preprocessor: fixed bug with "order" option
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1809 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-04-24 10:55:26 +00:00