Commit Graph

1303 Commits (2f13d6610d6842adc4a4b448eb45ebd4223967e6)

Author SHA1 Message Date
Sébastien Villemot 71cee69619
Manual: Octave 4.4 is now the minimal requirement 2020-02-17 18:39:47 +01:00
Sébastien Villemot 3106ebbb81
Manual: in a few places, replace “Octave” by “GNU Octave”
This is a partial revert of 8fa4c483f9.

Actually, the official name is “GNU Octave”, and it is easier to find it under
that name in search engines. So use the full name at a few prominent places,
and use the shorter “Octave” everywhere else.
2020-02-17 18:39:47 +01:00
Sébastien Villemot 04d06dc330 Merge branch 'manual' into 'master'
Manual updates regarding Identification

See merge request Dynare/dynare!1712
2020-02-17 16:14:16 +00:00
Willi Mutschler 3af2cc3fc4
📖 Update manual 2020-02-17 16:58:38 +01:00
Sébastien Villemot cd195279e9
Manual: workaround for incorrect display of macro-directives without arguments
The workaround consists in appending the names of those macro-directives with a
regular space followed by a zero-width space (U+200B).

An extra LaTeX declaration was also added in order to make this hack work with
the PDF.

Ref. #1707
2020-02-17 15:41:39 +01:00
Stéphane Adjemian (Charybdis) f69cd14983
Updated reference manual wrt the nonlinear filters at higher order. 2020-02-16 21:16:22 +01:00
Stéphane Adjemian (Charybdis) 91a4c1c7c6
Updated documentation of @dseries. 2020-02-16 21:16:22 +01:00
Stéphane Adjemian (Charybdis) 615778dae4
Updated documentation of @dates. 2020-02-16 21:16:22 +01:00
Stéphane Adjemian (Charybdis) 12ee697a33
Introduce underscore methods. 2020-02-16 21:16:22 +01:00
Stéphane Adjemian (Charybdis) 8ae5690e71
Avoid political statements.
... Which would probably need to be updated ;-)
2020-02-16 21:16:22 +01:00
Stéphane Adjemian (Charybdis) d75363606b
We do not longer support weekly data. 2020-02-16 21:16:21 +01:00
Stéphane Adjemian (Charybdis) 10c196de34
k order approximation available in online filters. 2020-02-16 21:16:21 +01:00
Sébastien Villemot 99d2b5ad39
Manual: add set union and intersection operators in the macro-processor 2020-02-14 18:28:10 +01:00
Sébastien Villemot ae59f4dcb2
Further improvements to parsing of arguments on the MATLAB command-line
Under GNU/Linux and macOS, double-quote arguments before passing them to the
shell. In particular, this allows passing single-quotes within those arguments.

We therefore have to escape the four characters that are interpreted within
double-quoted strings in POSIX shells: \, ", $ and `

On Windows, also systematically escape the backslashes.

Also move display of arguments before escaping, so that it remains readable.

Ref. #1696
2020-02-10 18:24:51 +01:00
Houtan Bastani 931ebece92
Remove options `noemptylinemacro` and `nolinemacro`; add option `linemacro` 2020-02-05 16:16:31 +01:00
Johannes Pfeifer eaacb57d5c noemptylinemacro: Add missing word to 2020-02-05 11:30:58 +00:00
Sébastien Villemot 177c5c359f
Implement estimation under discretionary optimal policy
Also add a test case.

For the time being, estimating parameters that appear in the discount factor is
not supported.

Ref. #1173
2020-02-03 18:29:45 +01:00
Houtan Bastani d527096e61
simplify parsing of MATLAB command line arguments
closes #1696

includes preprocessor changes
- Removed prefixing of doubles between -1 and 1 with 0.
- Fixed bug introduced in 985d742.
- macro processor: simplify handling of `@#define`
2020-01-29 14:56:52 +01:00
Sébastien Villemot d3e90a8dbf
Fix the handling of options nopreprocessoroutput, onlyjson and onlymacro when they appear at the top of the .mod file
The nopathchange is still not supported in this context, so document it.

Also recommend the whitespace-separated syntax instead of the comma-separated
syntax, since the latter is inconsistent with the way options are passed on the
command-line.

Closes: #1667
2020-01-23 18:58:08 +01:00
Sébastien Villemot 00ee480674
Manual: add the accessor functions
Note that, for get_mean, the syntax with an optional order is not documented,
because the semantics is different at order 2, and it does not work for higher
orders.

Closes: #1687
2020-01-22 16:25:35 +01:00
Houtan Bastani 77b7b216d0
doc: use references instead of repeating the same info
[skip ci]
2020-01-22 10:59:34 +01:00
Houtan Bastani b090669e8f
doc: add info about `epilogue` block
Closes issue #1679

[skip ci]
2020-01-22 10:31:56 +01:00
Sébastien Villemot 06ce5d1e56
Manual: document init2shocks
Closes: #1650
2020-01-21 18:39:33 +01:00
Sébastien Villemot b63ae5b619
Manual: add note about required Octave version under Windows and macOS 2020-01-21 18:39:33 +01:00
Sébastien Villemot e371b1a94b
New option “filtered_theoretical_moments_grid”, that supersedes “hp_ngrid”
The old option is left for backward-compatibility purposes, but it has the same
effect as the new one.

Closes: #1093
2020-01-20 16:23:10 +01:00
Sébastien Villemot 2fb18bba97
Manual: FILENAME need not always be a quoted string (in a Dynare context)
Ref. !1692
2020-01-20 14:59:37 +01:00
Sébastien Villemot 16b571c033
Manual: don’t claim support for Windows 8, since Microsoft no longer supports it
Rather mention Windows 8.1.
2020-01-14 14:04:47 +01:00
Johannes Pfeifer b3aef92234 Document xls_range/sheet options of calib_smoother
Closes https://git.dynare.org/Dynare/dynare/issues/1695
2020-01-13 12:56:18 +01:00
Houtan Bastani 8764330725
fix typo in doc
`check` has two OPTIONS

[skip ci]
2020-01-13 12:42:09 +01:00
Johannes Pfeifer 647ba4e99b Add example mod-file for Ramsey and OSR
Closes https://git.dynare.org/Dynare/dynare/issues/1645
2020-01-10 17:56:22 +01:00
Johannes Pfeifer 2c8c120298 Replace various references to deprecated ramsey_policy by ramsey_model 2020-01-10 15:26:50 +01:00
Johannes Pfeifer 055710c938 Change ordering of optimal policy commands
Moves common planner_objective command to front
2020-01-10 15:11:09 +01:00
Johannes Pfeifer 7245cb2ef3 Document evaluate_planner_objective
Also clarifies restructures section on optimal policy and clarifies calling order of commands
2020-01-10 08:38:22 +01:00
Johannes Pfeifer f8e415a868 Change perfect foresight example code to suggested new syntax 2020-01-09 19:30:38 +01:00
Houtan Bastani fcbdfec0d8
Revert "doc: using `desc_addname` doesn't allow for line breaks."
This reverts commit 6d516c39bf.
2020-01-08 17:22:41 +01:00
Houtan Bastani 6d516c39bf
doc: using `desc_addname` doesn't allow for line breaks.
The method `desc_addname` adds arguments to the name of the node, and hence does not allow for line breaks. In the case of Dynare commands we don't run into a problem with this but we run into this problem with longer MATLAB/Octave commands.

For Dynare commands, we don't run into the problem with commands running over the page width as we use placeholders like `OPTIONS` since the order of the parameters passed to a command is irrelevant

For MATLAB/Octave commands, the order of parameters passed to a function is important, hence we cannot use a placeholder such as `OPTIONS`

closes #1688
2020-01-08 15:43:18 +01:00
Houtan Bastani b4479361c1
doc: fix typo and formatting 2020-01-08 15:43:18 +01:00
Houtan Bastani 8fbb77303a
dynare manual: cleanup whitespace
- remove trailing whitespace
- replace tabs with spaces as per PEP guidelines
2020-01-08 15:04:59 +01:00
Houtan Bastani c4cc32db29 Merge branch 'dynasave' into 'master'
Expand documentation of dynasave

Closes #1691

See merge request Dynare/dynare!1692
2020-01-06 13:55:27 +00:00
Johannes Pfeifer aa610f9f8e Expand documentation of dynasave
Closes https://git.dynare.org/Dynare/dynare/issues/1691
2020-01-06 13:15:36 +01:00
Sébastien Villemot d40b775260
Preprocessor: new “with_epilogue” option and related fixes
Ref. !1688
2019-12-20 11:57:34 +01:00
Sébastien Villemot efa6c6c682
“datafile” option of “perfect_foresight_setup” (and “simul”) now equivalent to “initval_file”
Ref. #1663
2019-12-19 14:58:54 +01:00
Sébastien Villemot f720f470bf
Preprocessor update
— “ramsey_policy”: bugfix when no option is passed
— various improvements to “epilogue” (preprocessor#36)
— compatibility with Bison 3.5
— bugfix in search for constant equations
— new “planner_discount_latex_name” option of “ramsey_policy” (Closes: #1686)
2019-12-18 17:46:38 +01:00
Sébastien Villemot 54781be7ae
Manual: markup fixes 2019-12-18 16:56:39 +01:00
Sébastien Villemot 6ba10b88f2
Preprocessor: various provisions for improvements to shock decomposition
Accordingly update the MATLAB routines, the testsuite, and the manual.

In particular, “squeeze_shock_decomp” has been renamed to
“squeeze_shock_decomposition” for consistency with other commands.

Ref. #1687, !1655
2019-12-18 11:56:57 +01:00
Houtan Bastani 8f78113be9
update doc to reflect changes in macOS installer 2019-12-10 16:53:12 +01:00
Houtan Bastani 0c77f7e92f
macOS packaging: compile against the version of Octave distributed via https://octave-app.org (currently 4.4.1) 2019-12-10 15:14:16 +01:00
Sébastien Villemot 553615efbc
Manual: fix the description of the “colormap” option
This option takes as argument the name of MATLAB/Octave variable, not a string.

Ref #1586
2019-12-09 15:52:50 +01:00
Sébastien Villemot 3f3f49c465 Merge branch 'flip_diff' into 'master'
Flip diff

See merge request Dynare/dynare!1677
2019-12-06 15:29:07 +00:00
Houtan Bastani a77472772f
doc: update macOS min version and document package installation 2019-12-06 14:58:19 +01:00