Commit Graph

32 Commits (7dd2dd5e24a343fbeaf3522ea5e535c27d8b9f95)

Author SHA1 Message Date
Sébastien Villemot 10af04c6d8
Use Unicode copyright symbol (in UTF-8 encoding) in all source files
It is now supported by the MATLAB editor (as of R2022a).

The old ASCII notation is left in some files that we copy as-is from other
sources (e.g. in the contrib/ and m4/ subdirectories).

The particles submodule is not updated at this point, because it is in an
inconsistent state.

[skip ci]
2022-04-13 14:54:25 +02:00
Johannes Pfeifer d79895b66a Display of decision rules: deal with overflow of fields 2022-02-20 11:00:34 +01:00
Johannes Pfeifer 966234b044 model_info.m: add non-block info 2021-09-15 16:10:43 +02:00
Sébastien Villemot 766fff88f6
Use secure URL for link to GNU licenses 2021-06-09 17:35:05 +02:00
Johannes Pfeifer 9c52aec23d Adjust output of loglinear option to make clear when a logged variable is used
- use of function for getting labels will allow to accommodate https://git.dynare.org/Dynare/dynare/-/issues/349
- incidentally fixes a bug in the display of the simulated variance decomposition for observables with measurement error
2020-12-23 13:53:44 +01:00
Sébastien Villemot ce4aa9a8e1
Preprocessor update
— deprecation warning for “simul” (#1683)
— Ramsey: use information from transformed model for filling
  M_.nonzero_hessian_eqs. (Closes: #1681)
  Also, M_.hessian_eq_zero is not generated if order = 1
— New field M_.endo_trends (#1648)
2019-12-13 18:22:12 +01:00
Stéphane Adjemian (Charybdis) 45fbfe4dce
Adapted disp_dr for new auxilary variables.
diffs, lagged diffs and leaded diffs.
2019-02-25 17:18:54 +01:00
Stéphane Adjemian (Scylla) 7be8f10e0e Use cells of strings instead of char arrays. 2018-01-09 22:30:01 +01:00
Johannes Pfeifer d75e7278c2 Make sure that reverting to order=1 if Hessian is 0 does not crash other functions
Closes #1453
2017-05-27 19:26:12 +02:00
Stéphane Adjemian (Charybdis) 5417b27ac7 Fixed indentation of matlab files. 2017-05-16 15:10:20 +02:00
Stéphane Adjemian (Charybdis) a53636e24e Fixed copyright notices. 2017-05-16 14:11:15 +02:00
Stéphane Adjemian (Charybdis) 88e1701289 Removed useless commas and semicolons. 2017-05-16 13:24:46 +02:00
Johannes Pfeifer 65c402469c disp_dr: Add case for aux_vars.type==0
Closes #1367
2017-01-04 09:14:01 +01:00
Johannes Pfeifer 7c97d7c662 Allow displaying 0 rows in disp_dr.m 2016-05-20 12:42:43 +02:00
Johannes Pfeifer 646658a0f2 Add missing deblank to disp_dr.m 2015-05-11 17:40:03 +02:00
Johannes Pfeifer 8285121f9b Allow selection of tolerance for display of decision rules 2015-04-22 15:37:35 +02:00
Johannes Pfeifer 20a4f551ed Improve display of decision rules by accounting for variable lengths
Also cleans up file by factoring code
2015-04-22 15:29:04 +02:00
Sébastien Villemot c121aa14b1 Remove oo_.dr.{nstatic,npred,nboth,nfwrd,nspred,nsfwrd}
Replace them by equivalents in M_ (and an extra one: M_.dynamic).

IMPORTANT POINT: oo_.dr.npred used to count both purely backward and mixed/both
variables. This was the cause of lots of confusion. The new M_.npred only
counts purely backward variables.

We now have the following indentities:

M_.npred + M_.nboth + M_.nfwrd + M_.nstatic = M_.endo_nbr
M_.nspred = M_.npred + M_.nboth
M_.nsfwrd = M_.nfwrd + M_.nboth
M_.ndynamic = M_.npred + M_.nboth + M_.nfwrd
2012-11-16 20:05:13 +01:00
Stéphane Adjemian (Charybdis) 37f5ac850b Fixed bug (karaba:/var/tmp/dynare-master-check-WMwywKtbcz.log). dr.state_var is not defined in all cases... 2012-07-13 10:30:09 +02:00
Stéphane Adjemian (Charybdis) 4d51f38bd2 Added the possibility to use the cyclic reduction algorithm without the block option. 2012-07-11 18:26:22 +02:00
Ferhat Mihoubi d837d20dd7 Correct a bug in the printout of the decision rule 2011-10-12 14:48:28 +02:00
Ferhat Mihoubi 3459b08c53 - Corrects the first order approximation of block-decomposed models
- The block-decomposed models can now be estimated
2011-06-18 17:43:45 +02:00
Michel Juillard 554849a704 modifyimg *.m files for ramsey_policy when FOC are computed by the preprocessor 2011-03-27 16:54:49 +02:00
Sébastien Villemot 02652f6eb8 Updated copyright notices 2011-02-04 17:27:33 +01:00
Ferhat Mihoubi 41823ad10d correction of the state variables list to display when the model is block decomposed 2011-01-31 10:01:08 +01:00
Ferhat Mihoubi ffaec7ba89 - First elements needed for stochastic simulation of a block decomposed model 2010-11-25 16:11:27 +01:00
Sébastien Villemot 41ff70e08c Bugfix: when displaying decision rules, no longer crash if an EXPECTATION operator (in the past) appears as a state variable. Instead, display a (relatively uninformative) line. 2010-09-13 16:08:32 +02:00
sebastien 1be52aaa5f Beautification: removed tabulation characters which were left in previous beautification pass
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3300 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-05 10:46:10 +00:00
sebastien 502e3e1df8 Beautified MATLAB code (Unix newline convention + Emacs indentation), except: AIM, swz, particle
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3250 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-16 17:17:34 +00:00
sebastien a2cef7009d Fixes for ticket #57
preprocessor:
* add a field "M_.orig_endo_nbr" containing the nbr of endogenous before adding aux vars
* always provide "M_.aux_vars" (define it to "[]" when there is no aux var)
* rename "M_.aux_vars().orig_endo_index" to "M_.aux_vars().orig_index"

M-files:
* for commands which accept a list of variables (stoch_simul, osr, estimation, dynasave, dynatype, datatomfile), when no variable is given, use only the set of original endogenous (without aux vars) as the default
* when displaying the decision rule, when there is aux vars in the state variables, replace them by their original name (with the right lag)
* in "steady", don't display aux vars
* special exception for ramsey policy: all vars (including aux vars) are displayed, because the system of aux vars from ramsey policy is not compatible with the aux vars from the preprocessor


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3166 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-25 10:22:39 +00:00
sebastien 47a4d91700 v4 matlab:
* fixed copyright headers of remaining files
* deleted old ChangeLog


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1977 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-08-01 18:53:30 +00:00
michel 9a9872fd33 dynare_v4 from CVS
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@8 ac1d8469-bf42-47a9-8791-bf33cf982152
2005-02-18 19:54:39 +00:00