adjemian
c5b8c596f2
do not compute the marginal density (harmonic mean estimator) when mh_replic = 0 and load_mh_file = 1
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1156 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-22 13:33:59 +00:00
adjemian
a4670516c5
Correction of a bug related to the number of lines per mh file.
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1155 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-21 20:34:45 +00:00
adjemian
5275ba88e0
correction of a bug related to metropolis.log.
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1154 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-21 13:53:31 +00:00
michel
6e4577326d
v4: union function exists in Matlab
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1153 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-21 13:10:28 +00:00
michel
5b17081b2b
v4 parser.src: corrected bug in EstimatedParamStatement::WriteOutput
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1151 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-13 21:10:16 +00:00
michel
4afa566652
v4 dr1.m: bug correction in unrolling kron
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1150 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-11 09:22:22 +00:00
sebastien
0c16f52806
v4 parser:
...
* reshaped DataTree/ModelTree using a more object-oriented approach
* improved expression sharing algorithm (temporary terms in output files), resulting in smaller output files for big models
* optimized performance (both in computing time and memory consumption)
* bugfix: the expressions stored in local parameters of models (pound expressions) are now derived
* bugfix: cosh(0) = 1
* removed some useless parentheses in output
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1148 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-09 19:00:05 +00:00
michel
7417d18014
v4 dr1.m: bug correction to kron unrolling
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1144 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-08 11:00:02 +00:00
michel
de3460760f
v4 dr1.m: checking size of all call to kron (except deterministic shock part);
...
unrolling kron() in each case when necessary
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1143 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-08 10:14:30 +00:00
michel
348bfca62b
v4 resol.m: bug fixing
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1142 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-06 16:21:15 +00:00
michel
f67d00cd34
v4 parser: corrected Hessian when declared exogenous variables aren't all present in the model;
...
add VariableTable::get_dyn_var_nbr()
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1141 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-06 11:29:32 +00:00
michel
20ac65e1fe
v4 resol.m: ..._steadystate.m takes prioru\ity even for a linear model
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1140 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-06 11:04:30 +00:00
michel
85a34d8046
v4 resol.m: changed options_.olr in options_.ramsey_policy
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1139 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-06 10:37:22 +00:00
michel
3773ad9cc3
v4 parser: used initializer to initialize ModelTree::eq_nbr
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1138 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-05 19:56:39 +00:00
michel
00a6328877
v4 ramsey_dynamic.m: bug correction
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1137 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-05 19:37:00 +00:00
michel
7d1a90e607
v4 McMCDiagnostics.m: corrected bug with size of tmp
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1136 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-04 22:26:32 +00:00
michel
7793bc700f
v4 parser: added initialization of eq_nbr=0 in ModelTree::ModelTree()
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1135 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-04 22:25:39 +00:00
michel
1497fa98f0
v4: added initialization of options_.ramsey_policy
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1134 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-04 17:03:41 +00:00
michel
77cdcce658
v4: adding Ramsey policy to parser;
...
changes to Ramsey policy Matlab code
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1133 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-04 14:42:27 +00:00
sebastien
e3bb760692
v4 parser: made OperatorTable static
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1132 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-02 15:43:18 +00:00
michel
6b761cf937
v4 parser: added option mh_revover
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1131 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-12-26 09:23:01 +00:00
sebastien
637ca0f86e
v4 parser DynareFlex/DynareBison: removed unused tokens and other minor cosmetic changes
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1130 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-12-22 11:42:31 +00:00
rattoma
ab42518b2f
load_redform=0;
...
git-svn-id: file:///home/sebastien/dynare/gsa_dyn@7 f1850c17-3b45-254b-b221-fcb05880fee1
2006-12-20 17:02:47 +00:00
adjemian
04879d31f3
MH log file (metropolis.log)
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1129 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-12-19 17:45:34 +00:00
adjemian
682ef48fdd
Allow Dynare to recover a crashed mh.
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1128 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-12-19 11:29:28 +00:00
sebastien
022ddd81ba
v4 parser ParsingDriver: reintroduce check for existence of symbol in expressions
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1127 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-12-18 23:50:18 +00:00
sebastien
5bbd779bab
v4 parser:
...
* added planner_objective statement, which triggers the creation of filename_objective_static.m
* added computing pass
* added the possibility of writing the hessian in static output file
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1126 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-12-18 23:28:52 +00:00
sebastien
0f9ed33f7d
v4 parser: removed ModelParameters class, and moved its components to the relevant places
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1125 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-12-18 11:29:10 +00:00
michel
927da0e42a
v4: added code for Ramsey policy
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1124 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-12-17 15:01:20 +00:00
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
rattoma
705bcb1712
demo files
...
git-svn-id: file:///home/sebastien/dynare/gsa_dyn@6 f1850c17-3b45-254b-b221-fcb05880fee1
2006-11-28 10:31:26 +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