michel
d035175627
v4 parser: 'check' is also a computing task
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1123 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-12-17 14:59:39 +00:00
michel
f3c3e6d71d
v4 dr1.m: use derivatives w.r. to exogenous variables only for the solution of models with exogenous variables and not for only computing the eigenvalues.
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1122 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-12-16 08:59:09 +00:00
sebastien
c445ce3a98
v4 parser:
...
* added a computing pass
* ModelTree:
- separated checking pass, computing pass, and output writing
- reorganized static and dynamic model file output code
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1121 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-12-15 17:31:31 +00:00
sebastien
73d3e17540
v4 parser:
...
* added an embryonic checking pass after parsing
* modified the decision of which derivatives to compute:
- if a simul statement is present, compute the jacobian vs endogenous variables only, and no hessian
- if a stoch_simul/estimation/olr/osr statement is present, compute the jacobian vs all variables, plus the hessian
- if the two previous conditions are simultaneously fulfilled, abort with an error
- if none of these two conditions are fulfilled, abort with an error (nothing to compute)
* fixed a minor bug with the size of the jacobian matrix when computing it only vs endogenous variables
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1120 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-12-15 11:44:58 +00:00
adjemian
47ae595059
Bug corrections : TeX output, oo_ structure (posterior density), posterior IRF.
...
Added : Posterior IRFs for BVAR-DSGE, conditional forecasts
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1119 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-12-15 11:37:24 +00:00
sebastien
be18e12a43
v4 parser VariableTable:
...
* cleaned and simplified the code
* incorporated VariableTable as a private member of DataTree/ModelTree
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1118 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-12-14 22:19:39 +00:00
sebastien
4f9e8a6e27
v4 parser:
...
* clearly separated the parsing process from the output writing, using an abstract intermediary representation of the mod file
* created the Statement class, and its derivatives, for that purpose
* fixed bug with "corr" statements in "shocks" blocks (variables indexes given to matlab were incorrect)
* fixed bug with "optim" option of "estimation" (this option was not passed to matlab)
* fixed bug with "dynatype" and "dynasave" (variable list was not passed correctly to matlab)
* fixed bug with "calib" and "calib_var" (they were unusable because of flex misspecification)
* fixed segmentation fault with "estimated_params_bound" and "estimation_params_init"
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1117 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-12-12 11:54:30 +00:00
michel
9337cdef34
v4 dynare_estimation.m: corrected bug in bayestopt_.restrict_var_list_nonstationary
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1114 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-12-01 20:46:51 +00:00
sebastien
09c165f386
v4 parser: fixed bug related to non-associativity of POWER operator
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1113 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-28 15:14:14 +00:00
sebastien
f84feddb02
v4 parser: added missing tokens in DynareFlex.ll; added error message for unrecognized characters; fixed minor bugs in DynareBison.yy
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1112 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-28 14:26:06 +00:00
sebastien
4e324b8410
v4 parser DynareFlex.ll: adding missing pound (#) token; removed catch-all rule
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1111 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-28 13:39:04 +00:00
sebastien
d5ac5b1fbd
v4 parser: created ModFile class, which is the abstract representation of a mod file; removed all static variables
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1110 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-28 11:56:02 +00:00
ratto
442bf232b0
Fixed when one wants all the runs (no cut).
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1109 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-27 14:45:12 +00:00
ratto
f19b66c4b2
Parsimonious initialisation of matrices used only in diffuse steps.
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1108 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-27 14:44:03 +00:00
ratto
2141998a93
Initialised aK
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1107 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-27 14:38:57 +00:00
ratto
c37932d6f8
Shifted order of loops for nblock and files, to easily allow cumulated mean plots.
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1106 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-27 14:24:29 +00:00
ratto
c9f297ba7f
Limit number of iterations to 1200.
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1105 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-27 14:10:44 +00:00
ratto
11da7c6eb2
Needs persistent p1 and p2;
...
global estim_params abd bayestopt_.
Debugged generalised beta prior.
index (i) missing somewhere
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1104 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-27 14:07:57 +00:00
ratto
b3bcbf79dc
Don't sort MC samples and let Reshape know which type of sample (prior, metropolis, GSA).
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1103 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-27 13:53:53 +00:00
ratto
3ff4c65f6a
Added GSA options; ReshapeMatFiles needs to know if it is prior, metropolis, GSA.
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1102 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-27 13:48:23 +00:00
michel
2a63a0f0e8
v4 parser.src: Makefile for cross compilation on Linux with
...
CROSS_WIN32=yes
Uses i586-mingw32msvc-g++
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1100 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-25 20:12:55 +00:00
michel
d9e6129dc6
v4 parser.src: Makefile for cross compilaton
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1099 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-25 20:09:29 +00:00
michel
f2b1f68e75
v4: prior_analysis, again
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1098 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-25 17:55:02 +00:00
michel
de7e3fdfac
test
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1097 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-25 09:18:23 +00:00
michel
a955e818b1
test
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1096 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-25 09:06:16 +00:00
michel
f5d35c9737
v4: new set of graphs in forecast with prior uncertainty
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1095 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-25 08:54:17 +00:00
sebastien
9ff865e84b
v4 parser NumericalConstants.{cc,hh}: optimization to avoid multiple IDs for the same constant
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1094 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-23 19:10:41 +00:00
sebastien
56f54de49a
v4 parser: removed Objects class; fixed memory leaks associated to parsing
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1093 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-22 19:01:40 +00:00
michel
7375a2c071
test
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1092 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-22 12:54:16 +00:00
adjemian
5b2053c347
improvements to the stochastic posterior mode optimization routine (mode_compute = 6)
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1091 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-21 12:52:32 +00:00
sebastien
b36a248d85
v4 parser: merged Makefiles for Linux and Windows; switched to level 3 optimization (-O3)
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1086 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-20 15:04:51 +00:00
michel
ce3a9a76ae
v4: bug around options_.replic
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1085 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-18 07:37:22 +00:00
sebastien
6d18a704b0
v4 parser: removed ylmm, replaced by Bison C++ support
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1084 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-17 17:48:11 +00:00
adjemian
1e1c111f1f
bug correction
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1083 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-17 16:27:33 +00:00
adjemian
86e196c515
new function to select a subset of deep parameters.
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1082 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-17 13:07:57 +00:00
adjemian
ce51ccc7b3
new : get_posterior_parameters.m (translated from version 3)
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1081 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-17 12:46:26 +00:00
michel
7dd651f513
v4 osr.m: use stoch_simul for output
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1080 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-16 20:20:45 +00:00
sebastien
d26b0a49b1
v4 parser: removed factorial, because its logic is not implemented
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1079 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-15 22:48:32 +00:00
sebastien
9edb14ae04
v4 parser DataTree.hh: fixed bug (wrong operators used at several places)
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1078 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-15 22:44:37 +00:00
sebastien
05d0931fdd
v4 parser: removed LN token, replaced by LOG
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1077 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-15 22:37:51 +00:00
michel
2c5668e9bc
v4 dynare_estimation: remaining bug with options_.forecast
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1076 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-15 15:23:19 +00:00
sebastien
211a839339
v4 parser: fixed minor doxygen issues
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1075 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-15 12:05:16 +00:00
sebastien
f551a446b5
v4 parser: removed unused eLoopIndex type
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1074 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-15 11:40:27 +00:00
ratto
c2a568cb22
Updates and management of memory.
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1073 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-15 08:21:34 +00:00
michel
501814b441
v4: adding prior_analysis. Only forecasts for the time being
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1072 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-14 20:57:32 +00:00
michel
f34a6fa016
v4: removed forecast option group
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1071 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-14 20:26:38 +00:00
michel
36e122bbdd
v4: synch dynare_m.exe
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1068 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-12 17:37:24 +00:00
michel
0d6355b95b
v4 parser: allowing for unused exogenous variables
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1067 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-12 17:35:53 +00:00
michel
4233d25da3
v4: added Chris Sims solver solve_algo=3
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1066 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-12 16:02:29 +00:00
michel
2de08e1599
v4: resync dynare_m.exe with parser
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1065 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-12 16:00:01 +00:00