Commit Graph

1378 Commits (4419b9e9e694f0826bcf9130d420890a01c4b658)

Author SHA1 Message Date
Ferhat Mihoubi 4419b9e9e6 Fix :
"Bytecode does not enforce positivity constraint on irreversible investment model #439 "
when block model option is used.
When cutoff is set to 0 the block decomposition is performed on the incidence matrix instead of the static Jacobian matrix. This correction avoids to use derivatives on logical operators that are always equal to 0.
2016-03-25 15:38:49 +01:00
Johannes Pfeifer d52c378460 Allow prefilter_decomposition as option if calib_smoother 2016-03-23 10:31:10 +01:00
Johannes Pfeifer 0c0ea326ce Fix wrong initialization of trend_coeff in preprocessor/ComputingTasks.cc 2016-03-23 10:06:19 +01:00
Stéphane Adjemian(Charybdis) e9f9aa2184 Allow irf_shocks in DSGE-VAR models. 2016-03-22 16:04:33 +01:00
Stéphane Adjemian a509fa7b87 Merge pull request #1130 from JohannesPfeifer/dataset_info
Save dataset_info in results.mat if it exists
2016-03-18 14:30:09 +01:00
Houtan Bastani cd66cf7bbf fix copyright dates 2016-03-15 12:45:57 +01:00
Sébastien Villemot 42d166e272 Fix compatibility with Flex 2.6.
In Flex 2.6, the C++ scanner changed. yyout is now a reference (and no
longer a pointer).
2016-03-14 16:28:24 +01:00
Houtan Bastani d38d6e26b4 fix copyright dates 2016-03-11 16:22:42 +01:00
Houtan Bastani 92624c2bcb preprocessor: allow for changing planner_discount in .mod file. closes #1092 2016-03-11 15:56:34 +01:00
Johannes Pfeifer 227b9d2339 Save dataset_info in results.mat if it exists 2016-03-11 15:29:12 +01:00
Stéphane Adjemian (Hermes) 0f794948ff Merge branch 'temporary_terms'
Do not evaluate unnecessary temporary variables (for instance those
used in the evaluation of the jacobian matrix when we only compute the
residuals of the dynamic equations).
2016-03-09 17:53:58 +01:00
Houtan Bastani fde8adc240 build system: cosmetic typo fix 2016-03-09 16:53:57 +01:00
Houtan Bastani dc1748f3f4 build system: fix typo 2016-03-08 18:06:45 +01:00
Stéphane Adjemian (Hermes) 359b4a20bc Fixed extended path.
- Removed call to make_ex_,
 - Fill oo_.exo_simul in extended path routine,
 - Do not update oo_.exo_simul after the call to the extended path routine,
 - Cosmetic change.

(cherry picked from commit 4791649524cc7876fc25d04a925f58a546a3a67d)
2016-03-05 16:24:14 +01:00
Houtan Bastani f0ff0d911b preprocessor: allow arbitrary partitioning of variables (removes long_name keyword) 2016-02-26 16:47:17 +01:00
Houtan Bastani e342858d04 preprocessor: initialize xref structure and use indices. closes #1125 2016-02-23 14:32:48 +01:00
Houtan Bastani 50a4d50821 preprocessor: introduce new option compute_xrefs, #1125 2016-02-23 13:57:55 +01:00
Houtan Bastani 702af9c9bf preprocessor: print reverse references (param->eqs, endo->eqs, exo->eqs, exo_det->eqs) 2015-12-18 17:13:50 +01:00
Houtan Bastani de0ce35ee3 preprocessor: add equation cross references 2015-12-18 15:17:32 +01:00
Houtan Bastani 091e80b35b preprocessor: remove unused structure 2015-12-18 12:35:32 +01:00
Houtan Bastani 5884c04287 preprocessor: fix divergence of equations and aux_equations. closes #1110 2015-12-01 12:34:43 +01:00
Houtan Bastani 45919774ab Revert "preprocessor: write auxiliary variable definitions to matlab function"
This reverts commit ad81129a9b90dab50799bd4589b635420918cf1f.
2015-12-01 11:41:55 +01:00
Houtan Bastani fd1e0ee1e2 preprocessor: write auxiliary variable definitions to matlab function 2015-11-30 15:36:17 +01:00
Michel Juillard 1a12a3de0f adding new option 'fast_kalman_filter' implementing Ed Herbst 2012 approach 2015-11-28 17:38:00 +01:00
Michel Juillard bdc7f83f18 remove global in dyn_forecast() and change input and output arguments 2015-11-28 17:38:00 +01:00
Stéphane Adjemian (Charybdis) 0038bbe755 Closes #1057.
Use a static file with a list of routines to cleared before each run (because they have
persistent variables).This static file (the script
matlab/list_of_functions_to_be_cleared.m) is distributed with Dynare and
needs to be updated for each release (or each time we add/remove
persistent variables). To update the file just do:

>> clear_persistent_variables(DYNARE_MATLAB_PATH, true)

and add/commit the generated file.
2015-11-12 14:38:16 +01:00
Houtan Bastani 035b6ea463 Revert "preprocessor: add utf-8 tokenizing"
This reverts commit f2cc9d389954f16dbb88c3401e90c7981e3599d6.

This commit causes warnings in Flex
2015-10-30 18:27:41 +01:00
Houtan Bastani 110823e2c7 preprocessor: remove rule that should have been removed in fd5ce1366e865c3c1f6a3178a9bfec0c2a712899 2015-10-30 18:23:39 +01:00
Houtan Bastani 99ef7b1f88 preprocessor: make notation accord with the rest of the preprocessor 2015-10-30 18:13:37 +01:00
Houtan Bastani b62e5e8b02 preprocessor: fix uninitialized variable warning 2015-10-30 18:11:51 +01:00
Stéphane Adjemian 5d4835ba4b Merge pull request #1062 from FerhatMihoubi/cond_forecast_and_bytecode
Allows to compute the extended path and the conditional forecasts wit…
2015-10-16 17:12:54 +02:00
Houtan Bastani d587a5133f preprocessor: change prior_posterior_function into two arguments. closes #1076 2015-10-14 11:02:35 +02:00
Houtan Bastani 3907462ae9 preprocessor: prior_posterior_function: change option 'prior_posterior_sampling_draws' to 'sampling_draws' #1076 2015-10-13 17:41:31 +02:00
Houtan Bastani ca44a87a54 fix typo 2015-10-13 17:21:32 +02:00
Houtan Bastani 863e13db55 preprocessor: interface for prior_posterior_function command. closes #1076 2015-10-13 17:16:10 +02:00
Houtan Bastani 4d06a6623e preprocessor: simplify code 2015-10-13 15:13:40 +02:00
Houtan Bastani 712ca5be89 fix typo 2015-10-13 15:13:40 +02:00
Johannes Pfeifer ce1ebac039 Allow suppressing density of smoother and forecast objects 2015-10-12 15:34:52 +02:00
MichelJuillard 12eca084bd Merge pull request #871 from JohannesPfeifer/prior_posterior_function
Add functionality Prior posterior function
2015-10-10 22:17:53 +02:00
Michel Juillard 062eb75ddd changed Dynare timer to local timer 2015-10-10 14:33:30 +02:00
Stéphane Adjemian 4979fbd190 Merge pull request #1015 from JohannesPfeifer/model_comparison
Bugfixes and improvements for model_comparison
2015-10-09 17:11:15 +02:00
Stéphane Adjemian (Charybdis) 4537f46647 Removed clear all for Matlab>=R2015b.
By default, Dynare clears the globals and functions containing
persistent variables. The behaviour of Dynare is not changed with
Matlab<R2015b or Octave.
2015-10-06 11:34:56 +02:00
ferhat 98c185cf84 Allows to compute the extended path and the conditional forecasts with bytecode 2015-09-22 15:39:49 +02:00
Michel Juillard 294cf81d8b fixed another bug in col_id computation 2015-09-20 15:46:17 +02:00
Michel Juillard 74647e2872 fixed bug in col_id computation 2015-09-19 15:51:32 +02:00
Houtan Bastani d8fcf00d0c preprocessor: fix bug when printing model variables containing underscores in latex file. closes #1059 2015-09-16 12:22:39 +02:00
Houtan Bastani 5cbbb1c41e preprocessor: add horizon option to ms_forecast 2015-09-08 17:28:08 +02:00
Houtan Bastani f2069a345a preprocessor: quick fix for #263 2015-09-07 15:56:37 +02:00
Houtan Bastani 6c4f7c0898 preprocessor: add relative_irf option to irf_calibration block. closes #720 2015-09-07 11:49:17 +02:00
Houtan Bastani 3117bf79f2 preprocessor: fix scoping problem with temporary variables 2015-09-04 15:28:06 +02:00