Commit Graph

1303 Commits (2f13d6610d6842adc4a4b448eb45ebd4223967e6)

Author SHA1 Message Date
Houtan Bastani 0e8bb324ca
doc: remove line as table of contents appear before this 2019-08-27 10:45:36 +02:00
Houtan Bastani 5994321cd7
preprocessor: submodule update 2019-08-19 16:58:14 +02:00
Houtan Bastani b6cbfb56d1
preprocessor: submodule update and doc update 2019-08-08 10:27:56 -04:00
Houtan Bastani b33900b86c
preprocessor: submodule update and doc update 2019-08-07 11:11:24 -04:00
Houtan Bastani 7efacbc478
doc: macro processor integer range with user-defined increment 2019-08-06 17:31:00 -04:00
Houtan Bastani a59732cd69
doc: new built-in function cbrt 2019-08-06 17:26:51 -04:00
Houtan Bastani 885a206400
preprocessor: submodule update and doc update 2019-08-06 17:08:45 -04:00
Houtan Bastani 452dc3ceb5
preprocessor: submodule update and doc update 2019-08-06 12:11:14 -04:00
Sébastien Villemot 512f37ae85
Update manual following the move of LaTeX files generated by preprocessor 2019-07-11 17:40:28 +02:00
Sébastien Villemot febf248f17
Manual, macro-processor: fix explanation for interaction between brackets and colon notation
Ref preprocessor#6

[skip ci]
2019-07-03 17:45:23 +02:00
Sébastien Villemot 5d00a4756b
Manual, macro-processor: advertise “log” rather than “ln” 2019-07-03 17:35:47 +02:00
Houtan Bastani 123049cf18
doc: add comment about brackets around array created from colon operator. closes preprocessor#6 2019-07-01 14:36:55 +02:00
Houtan Bastani f2b61b3e9e
submodule update: preprocessor; doc: introduce comprehensions 2019-06-26 15:09:55 +02:00
Houtan Bastani 8745880bde
doc: small changes 2019-06-26 11:01:39 +02:00
Houtan Bastani 98c2152ec5
doc: update macro processor section following rewrite 2019-06-25 10:09:09 +02:00
Houtan Bastani ff5def8a00
doc: fix typo 2019-06-21 17:26:10 +02:00
Sébastien Villemot a2ce1a5607
Manual: various fixes
Thanks to Aurélien Poissonnier for his feedback.
2019-05-16 16:55:23 +02:00
Sébastien Villemot 804a11842c
Manual: fix HTML prerequisites in Makefile 2019-05-16 16:55:23 +02:00
Sébastien Villemot 5956c767d3
Stop claiming that we support Windows XP and Vista 2019-05-13 12:29:11 +02:00
Stéphane Adjemian (Charybdis) e5bc8ff1de Document behaviour of lmmcp option wrt transformations of equation.
Closes #1606.

[skip-ci]
2019-04-26 20:16:54 +02:00
Stéphane Adjemian (Charybdis) 72afafe3d4 Fixed hyperlink for solve_algo option.
[skip-ci]
2019-04-26 16:38:50 +02:00
Sébastien Villemot f71006329d
Manual: fix year of publication of Andreasen et al. (2018)
Ref #1643
2019-04-17 15:20:22 +02:00
Sébastien Villemot 38b588d7c0
Manual: adapt for k-order
Ref #217
2019-04-16 12:29:16 +02:00
Sébastien Villemot a8a53804e7
Fix typo 2019-04-09 14:38:08 +02:00
Houtan Bastani a04f5b7ae3
doc: fix typos in manual 2019-04-08 15:45:12 +02:00
Houtan Bastani 01ce90afcd
doc: fix typo in option default value 2019-04-08 12:05:03 +02:00
Houtan Bastani d0b1e0a721
doc: fix typos 2019-04-03 14:35:39 +02:00
Houtan Bastani 57f97b1a07
doc: fix parameter_set option 2019-04-03 14:35:39 +02:00
Houtan Bastani 87cc694abb
doc: fix page overrun 2019-03-28 16:34:09 +01:00
Houtan Bastani d9343b4458
doc: wrap equation to newline 2019-03-25 11:12:32 +01:00
Sébastien Villemot 641ada2a78
Add Willi Mustchler to Dynare Team 2019-03-20 16:56:29 +01:00
Willi Mutschler 666c9b8003 Improvement of Identification Toolbox
# Improvements
  * heavily commented (also auxiliary functions) and changed notation to make all the functions (hopefully) more readable and understandable, and hence, easier to debug
  * added identification criteria of Komunjer and Ng (2011, Econometrica) and Qu and Tkachenko (2012, Quantitative Economics)
  * tests can be turned of, i.e. nostrength disables identification strenght, noreducedform disables reduced form criteria, nomoments disables moment criteria, nospectrum disables spectrum criteria, nominimal disables minimal system criteria
  * all kronflags (analytic_derivation_mode) actually work in all functions
  * added functionality when there is correlation in Sigma_e and when one wants to consider corr parameters of exogenous shocks. Previously, (1) corr parameters were not allowed when calling identification and (2) when Sigma_e was not diagonal then the toolbox relied on numerical derviatives only (kronflag=-1). Now it is possible to handle both identification of corr parameters as well as correct analytical derivatives when Sigma_e is not diagonal with all possible kronflag values (-1|-2|0|1)
  * all plots and results are stored in the same folder named identification (previously there was another one with a capital I (Identification))

# Needed changes to preprocessor
  * add as field to options_ident:

    - tex (same as in options_)
    - nostrength (to turn off identification strength)
    - noreducedform (to turn off reduced form criteria)
    - nomoments (to turn off Iskrev's moment criteria)
    - nominimal (to turn off Komunjer and Ng's minimal system criteria)
    - nospectrum (to turn off Qu and Tkachenko's spectrum criteria)

  * add to options_ident:
    - normalize_jacobians (whether to normalize Jacobians or not)
    - grid_nbr (integer used to discretize the interval [-pi;pi]
    - tol_rank (tolerance level to compute ranks)
    - tol_deriv (tolerance level to select nonzero columns in derivatives)
    - tol_sv (tolerance level to select nonzero singular values)
    - ChecksViaSubsets (for debugging purposes, uses different function to find problematic parameter sets)
    - max_dim_subsets_groups (for debugging purposes, used for ChecksViaSubsets)

# Further Suggestions
  * Rename getH.m into getParamsDerivReducedForm.m to make the purpose of this function evident
  * Rename getJJ.m into getIdentificationJacobians.m to make the purpose of this function evident
  * Rename thet2tau.m into IdentificationNumericalObjectiveFunction.m to make the purpose of this function evident
  * dYss, d2Yss, dg1 should also include derivatives wrt to stderr and corr parameters (even though these are just 0), as in other functions (getJJ, dynare_estimation) we always add these manually
  * I am pretty sure the current handling in getH.m of dYss and d2Yss is not correct in the case of nonstationary variables (if g2static is nonempty), I added a warning message, as I am not sure whether this is ever used
  * It would be straigthforward to also include stderr and corr parameters of measurement errors (these is not possible right now). Should I do this?
  * Computations of d2A and d2Om need to be checked, as the differences between computing these with analytically (kronflag=0|1) or numerically kronflag=-1|-2 is really large for the example model of AnSchorfheide.
  * I am not sure how to best normalize Qu and Tkachenko's G matrix. It looks (and in the Gaussian case actually is) very similar to the Ahess matrix. So I used the same normalization rule as for the Ahess matrix. See comments in identification_checks.m. Anyone has a better idea? Please also check the models in test/identification/cgg for differences.
  * parts that are unclear to me are marked by a [@wmutschl] tag
  * the run time of tests/identification/as2007.mod increases from 0h01m27s to 0h03m46s (as Qu and Tkachenko's G matrix takes a little while to compute). One could decrease prior_mc=250 to prior_mc=150.

# New functions
  * commutation: Returns Magnus and Neudecker's commutation matrix that solves k*vec(X)=vec(X')
  * DerivABCD: Derivative of X(p)=A(p)*B(p)*C(p)*D(p) w.r.t to p as in Magnus and Neudecker (1999), p. 175
  * DeriveMinimalState: Derives minimal state space system by checking observability and controllability of all possible combinations of variables
  * duplication: Duplication Matrix (and its Moore Penrose Inverse) as defined by Magnus and Neudecker (2002), p.49, Dp*vec(X) = X
  * identification_checks_via_subsets: finds problematic parameters in a bruteforce fashion: It computes the rank of the Jacobians for all possible parameter combinations, if the rank condition is not fullfilled, these parameter sets are flagged as non-identifiable. For debugging purposes only, as the current identification_checks.m (based on nullspace and multicorrelation coefficients) is much faster

# Detailed changes in getH.m
  * functionality improvements

    - heavily commented (also auxiliary functions) and changed notation of several variables to make this function (hopefully) more readable and understandable, and hence, easier to debug
    - added functionality when Sigma_e is not diagonal and/or when one wants to consider corr parameters of exogenous shocks independent of the value of kronflag
    - fixed function for all values of kronflag, i.e. kronflag=-2|-1|0|1. Previosuly, only kronflag=-2|0 were working, all other kronflags ran into errors (-1 was actually never called , but was dealt with in getJJ.m). I assume kronflag=-1|1 was used only for debugging issues, but still was not working. I fixed this now, the function now works out-of-the-box for all kronflag values.
    - I also outlined and documented what each kronflag does and point to the corresponding equations in Ratto and Iskrev (2012) or Iskrev (2010,Appendix A)
    - the function additionally outputs the Jacobians of B and Sig, which are needed for Qu and Tkachenko (2012) and Komunjer and Ng (2011)'s criteria
    - Moved computation of Jacobian of tau=[ys;vec(A);vech(B * M_.Sigma_e * B')] into getJJ.m to have all Jacobians which are needed for identification in one place. That is, getH.m computes first and second parameter derivatives of (1) reduced-form solution, (2) steady state and (3) Jacobian of dynamic model, whereas getJJ computes and sets up all Jacobians which are used for identification purposes. Therefore, getH might be useful more generally for other purposes than identification. For instance, when doing a GMM estimation, we could use this function to compute analytically the gradient of the moments and provide this to the optimizer used in a GMM context.

  * output arguments

    - renamed `H` (Jacobian wrt parameters of tau=[ys;vec(A);vech(B * M_.Sigma_e * B')] into dTAU, (as H is very confusing, e.g. in other functions it is a Hessian, or Hss and H2ss is also just the steady state. Morevoer, tau is used in Iskrev(2010) for the steady state and reduced-form solution)
    - renamed `Hss` (Jacobian of steady state wrt model parameters only) into `dYss` (as H is very confusing here, see above)
    - renamed `H2ss` (Hessian wrt model parameters only of ys) into d2Yss (as H is very confusing, see above)
    - renamed `gp` into `dg1`, where g1 corresponds to the same variable as in dynamic model files. Note that in params_deriv files gp lacks the contribution of Jacobian wrt steady state and dg1 includes this using the implicit function theorem as outlined in Ratto and Iskrev (2012). Hence, dg1 denotes Jacobian wrt to parameters. It is useful and important to distinguish gp and dg1.
    - added `dB` (Jacobian wrt parameters of solution matrix B) needed for Qu and Tkachenko (2012) as well as Komunjer and Ng (2011)
    - added `dSig` (Jacobian wrt parameters of M_.Sigma_e) needed for Qu and Tkachenko (2012) as well as Komunjer and Ng (2011)

  * input arguments

    - renamed `indx` (index of model parameters to be checked) into `indpmodel`, the p makes it more clear that this is a parameter index
    - renamed `indexo` (index of stderr parameters) into `indpstderr`, the p makes it more clear that this is a parameter index
    - renamed `iv` (index of variables to consider) into `indvar`
    - Renamed `M_` to `M`, `estim_params_` to `estim_params`, `options_` to `options` , `oo_` to `oo` to visualize that these are local and not global variables
    - included `indpcorr` a matrix of indices for corr parameters to be checked

  * misc

    - distinguished clearly between variables in DR or in declaration order without overwriting this in between
    - added which functions call getH.m
    - updated copyright to 2010-2019

# Detailed changes in getJJ.m

  * functionality improvements

    - heavily commented and changed notation of several variables to make this function (hopefully) more readable and understandable, and hence, easier to debug
    - added functionality when Sigma_e is not diagonal and/or when one wants to consider corr parameters of exogenous shocks independent of the value of kronflag
    - tidied the function up, such that it sets up all Jacobians which are needed for identification, i.e. Iskrev's J matrix, Qu and Tkachenko (2012)'s G matrix, Komunjer and Ng (2011)'s D matrix, reduced-form solution (dTAU), linear rational expectation (i.e. Jacobian of steady state and dynamic model equations dLRE).
    - dTAU is now constructed in getJJ instead of in getH (see comment above in getH.m)
    - works for all kronflags, i.e. for numerical derivatives (-1 and -2) as well as for analytical derivatives based on kronecker products (1) or Sylvester Equations (0)
    - added functionality for stderr and corr parameters independent of the value of kronflag (previously this was only possible with numerical derivatives, now it works for all kronflags)
    - finds minimal state vector needed for Komunjer and Ng (2011)'s criteria (function `DeriveMinimalState.m`)
    - moved computations from kronflag=-1 (which were used in case of corr in shock block) into getH.m, so that getJJ now only sets up the Jacobians for LRE, Iskrev's J, Qu and Tkachenko's G and Komunjer and Ng's D, whereas getH computes the Jacobians (wrt parameters) of A, B, Sigma_e, Om, Yss and g1. This should simplify debugging as everything is now in one place and not in two

  * output arguments

    - renamed `JJ` into `J`
    - renamed `H` into `dTAU` (as H is very confusing, e.g. in other functions it is a Hessian, or Hss and H2ss is also just the steady state. Morevoer, tau is used in Iskrev(2010) for the steady state and reduced-form solution)
    - renamed `gp` into `dLRE`, as this corresponds to Jacobian of LRE=[Yss;vec(g1)] where g1 is the Jacobian of the dynamic model equations.
    - renamed `gam` into `MOMENTS`
    - added `G` for Qu and Tkachenko's Jacobian matrix G
    - added `D` for Komunjer and Ng's Jacobian matrix D
    - reordered output arguments

  * input arguments

    - added `options_ident` as input argument; hence, `kronflag`, `nlags` and `useautocorr` are removed from input arguments as these are available in options_ident
    - Renamed `M_` to `M`, `estim_params_` to `estim_params`, `options_` to `options` , `oo_` to `oo` to visualize that these are local and not global variables
    - renamed `indx` (index of model parameters to be checked) into `indpmodel`, the p makes it more clear that this is a parameter index
    - renamed `indexo` (index of stderr parameters) into `indpstderr`, the p makes it more clear that this is a parameter index
    - added `indpcorr` (index of corr parameters)
    - renamed `mf` (index of VAROBS variables) into `indvobs`

  * misc

    - updated copyright to 2010-2019
    - provided some comments on several ways to compute the spectral density matrix
    - added which functions call getJJ.m

# Detailed changes in thet2tau.m

  * functionality improvements

    - heavily commented and changed notation of several variables to make this function (hopefully) more readable and understandable, and hence, easier to debug
    - Added output option to compute spectral density matrix
    - Reorded and added some output option.
    - Instead of Om, `outputflag=0` computes B and Sigma_e, which are needed for Qu and Tkachenko as well as Komunjer and Ng. The Jacobian of Om is then computed in getJJ or getH from Jacobian of B and Sigma_e. Due to some testing with An and Schorfheide model this seems to be more accurate when I compare these with the analytical derivatives. The old behavior (computing Om directly) can be restored by setting `outputflag=-2`.
    - In total this function can now be used to compute numerically Jacobians of Yss, A, B, Sigma_e, Om, g1, autocovariogram and spectral density
    - Clearly distinguished (and commented) on the different outputs of this function.
    - Works for all types of parameters, ie. model, stderr and corr.
    - This function can now also be used when there is no estimated_params block. Previously, there was an error when there was no estimated_params block when calling `set_all_parameters` as this requires some information in `estim_params`. I fixed this by providing a temporary local estim_parms structure with the necessary information on model, stderr and corr parameters. In this way, this can be easily extended to also include stderr and corr parameters of measurement errors.

  * output arguments

    - renamed `tau` into `out`, as this function computes *very* different things (and not only tau) depending on an input flag

  * input arguments

    - renamed `flagmoments` into `outputflag` as this function does not only compute moments but many other things (see above)
    - renamed `indx` (index of model parameters to be checked) into `indpmodel`, the p makes it more clear that this is a parameter index
    - renamed `indexo` (index of stderr parameters) into `indpstderr`, the p makes it more clear that this is a parameter index
    - added `indpcorr` (index of corr parameters)
    - merged `mf` (index of observable variables) and `iv` (index of variables to consider) into a single index `indvar` as there is no need to distinguish between these two indices (they were never used in combination)
    - added `grid_nbr` (number of grid points to compute spectral density)
    - reordered input arguments

  * misc

    - added which functions call thet2tau
    - updated copyright to 2010-2019

# Detailed changes in identification_analysis.m

  * functionality improvements

    - heavily commented and changed notation of several variables to make this function (hopefully) more readable and understandable, and hence, easier to debug
    - renamed `dg1` to `dLRE`, renamed `vecg1` to `lre`, renamed `H` to `dTAU` (see comments above)
    - added option `numzerotolderiv` with default `1.e-8` used for non-zero derivatives
    - added option `numzerotolrank` with default `1.e-10` used for rank computations
    - added theoretical identification analysis based on Komunjer and Ng (2011)'s method, i.e. steady state and observational equivalent spectral densities within a minimal system
    - added theoretical identification analysis based on Qu and Tkachenko (2012)'s method, i.e. steady state and spectral density
    - restructured the code slightly to combined chunks of code that belong together on the one hand, and on the other hand to differentiate between the different criteria
    - added call to new function `identification_checks_via_subsets.m` (see above for the definition of the functionality) to perform identification checks differently as find it more intuitive and (most likely) more precise.

  * input arguments

    - removed `bounds` and `dataset_` as input argument, because these are not needed
    - moved `name_tex` and `tittxt` into `options_ident` as these two inputs are only used in `ident_bruteforce.m` and already set in `dynare_identification.m`

  * output arguments

    - added `ide_spectrum` structure for Qu and Tkachenko's criteria based on the spectral density
    - added `ide_minimal` structure for Komunjer and Ng's criteria based on the minimal state space system
    - reordered output arguments

  * misc

    - added which functions call identification_analysis
    - updated copyright to 2010-2019

# Detailed changes in dynare_identification.m

  * functionality improvements

    - heavily commented and changed notation of several variables to make this function (hopefully) more readable and understandable, and hence, easier to debug
    - included more options (and default values) which can be set by the user, i.e. nostrength, nomoments, nominimal, nospectrum, tex, tol_rank, tol_deriv, tol_sv, grid_nbr, ChecksViaSubsets, max_dim_subsets_group
    - instead of turning warnings globally off, I specified the relevant warnings for matlab and octave, respectively, off
    - improved the warning messages slightly
    - restructured chunks of code with respect to different criteria

  * output arguments

    - renamed arguments: TAU to STO_TAU, GAM to STO_MOMENTS, LRE to STO_LRE, gp to STO_si_dLRE, H to STO_si_dTAU, JJ to STO_si_J
    - added arguments: STO_G and STO_D for the two new criteria

  * misc

    - added which functions call dynare_identification
    - updated copyright to 2010-2019

# Detailed changes in identification_checks.m

  * functionality improvements

    - added checks for Komunjer and Ng's D matrix. Note that the Jacobian D=[D_par D_rest], where D_par depends on the parameters and D_rest does not. So this is taken into account.
    - added checks for Qu and Tkachenko's G matrix. Note that the Jacobian G is a Gram matrix with dimension nparam x nparam, similar to Ahess. So this is taken into account. I am, however, not sure whether this is correct regarding the multicorrelation and pairwise correlation coefficients. Please double check.
    - the rank is now actually computed at the prespecified tolerance level (and not Matlab's default level), so this is in accordance to the further analysis of problematic parameter sets

  * output arguments

    - added the rank to output arguments which is later also displayed
    - replaced the J or JJ part in the variable names with X as this function is used for all sorts of Jacobians, not only Iskrev's J

  * input arguments

    - renamed hess_flag to output_flag (and clearly outlined what each value does)
    - added tol_rank and tol_sv as input arguments, such that the tolerance levels can be changed by the user and not preimplemented in this function
    - added param_nbr which is needed for Komunjer and Ng's D matrix

  * misc

    - updated copyright to 2010-2019

# Detailed changes in ident_bruteforce.m

  * functionality improvements

    - the output directory was set with a capital I, i.e. Identification, whereas in all other functions we rely on lower case i, i.e. identification. I changed this to lower-cases, so everything is now saved in the same folder.
    - changed displayed strings to be more precise with the corresponding papers and notation

  * input arguments

    - renamed `n` to `max_dim_cova_group` to name options the same across functions
    - renamed `pnames_TeX` to `name_tex` to name options the same across functions
    - added `tol_deriv` as tolerance level which can be changed by the user

  * misc

    - Added some comments
    - updated copyright to 2010-2019

# Detailed changes in disp_identification.m

  * functionality improvements

    - this function displays the same output for different Jacobians, hence I put the common code into a for loop. This should simplify changing the output that is printed to the console. Previously the code was simply repeated for the different criteria and only the strings changed.
    - some settings relevant for the computation are now printed as a summary to the console
    - the tolerance level, rank and required rank are always displayed on the command line to see how many problematic sets there are and which tolerance level was used
    - the function is also able to display problematic parameters computed by the new function `identification_checks_via_subsets.m` which is only used for debugging.

  * input arguments

    - added `idespectrum` structure for analysis based on Qu and Tkachenko
    - added `ideminimal` structure for analysis based on Komunjer and Ng
    - added `options_ident` to have all necessary settings in a structure

  * misc

    - Added some comments
    - Removed uncommented code that was not used as this was redundant and probably an artifact of the original programming?!
    - updated copyright to 2010-2019

# Detailed changes in dsge_likelihood.m

  * misc

    - adjusted call of getH due to changes of input and output arguments
    - updated copyright to 2010-2019

# Detailed changes in cosn.m

  * misc

    - commented functionality, input and output arguments of this function
    - updated copyright to 2010-2019
2019-03-20 15:44:54 +00:00
Sébastien Villemot cda0b3192a
Add missing Python files in tarball 2019-02-25 17:46:40 +01:00
Sébastien Villemot ae230fcd92
Really remove the old Texinfo manual 2019-02-25 15:28:23 +01:00
Sébastien Villemot c8a234b653
Remove obsolete .gitignore 2019-02-21 17:35:26 +01:00
Sébastien Villemot 8c906a6e7e
Add files missing in e5f938a8e 2019-02-21 17:06:47 +01:00
Sébastien Villemot 60054af97e
Manual: the minimal requirement is now the same on macOS as on other platforms 2019-02-21 17:02:51 +01:00
Sébastien Villemot 6df3b5aa31
Manual: recommend "apt" instead of "apt-get" under Debian 2019-02-21 17:02:18 +01:00
Sébastien Villemot e5f938a8e5
Integrate new reference manual
- integrate with autoconf/automake, so that "make html pdf" now build the
  manual
- remove the old texinfo manual
- the PDF manual is now called dynare-manual.pdf (Closes #1543)
- add a Gitlab CI job that updates the online unstable manual under
  www.dynare.org/manual-unstable/
2019-02-21 16:58:18 +01:00
Stéphane Adjemian (Charybdis) 6e747b5dba
Merge remote-tracking branch 'reference-manual/merge-in-main-dynare-Repo
[skip ci]
2019-02-19 11:39:11 +01:00
Stéphane Adjemian (Charybdis) 35b848d766
Moved all files under doc/manual subfolder. 2019-02-19 11:32:09 +01:00
Sébastien Villemot 1f84bc051d
Under Octave, the "statistics" Forge package is now a requirement
The gamrnd fallback under matlab/missing/stats/ does not work under Octave
because the +gamrnd/ folder is not accessible (it has the same name as the
function, which does not work under Octave).

Instead of fixing this, rather make the statistics toolbox a requirement, since
anyways it is very easy to obtain under Octave.

Accordingly:
- do not try to run the unit tests of matlab/missing/stats/ under Octave
- merge the matlab/missing/stats-matlab/ into matlab/missing/stats/, since this
  directory is now MATLAB-only.

Also:
- move matlab/distributions/+gamrnd/ under matlab/missing/stats/ for
  consistency
- in the manual: remove obsolete link to Octave downloads on the Dynare
  website; update URL of Octave Forge

Closes #1638
2019-02-18 17:41:10 +01:00
Johannes Pfeifer 20b51b3c08 Document treatment of several Matlab statements in one line
Related to #1637
2019-02-05 11:51:48 +01:00
Houtan Bastani 266d470668
document rounding method in reporting 2019-01-28 15:27:27 +01:00
Wenddy SHu 163c904b49 Update dynare.texi 2019-01-28 01:38:10 +00:00
Sébastien Villemot b20a9536b8
Fix Texinfo error introduced in previous commit 2019-01-02 16:45:51 +01:00
Sébastien Villemot 7e9669c71a
Doc: the preprocessor no longer accepts a mod-file as a string as 1st argument 2019-01-02 16:40:35 +01:00
Houtan Bastani 4aa4b7f25f
update year 2019-01-02 13:37:33 +01:00
Houtan Bastani 123ba261b4
doc: fix typo 2018-12-31 11:36:03 +01:00
Johannes Pfeifer 6460a3a1e5
Document prior moments(distribution) option 2018-12-15 19:23:06 +01:00
Johannes Pfeifer 463e42a18f
Fix description of oo_.conditional_variance_decomposition 2018-12-15 19:23:06 +01:00
Johannes Pfeifer 2ba9a8e10b
Prevent inconsistent specification in estim_params-block
Also documents the behavior
2018-12-15 18:49:53 +01:00
Sébastien Villemot 7b0ef3d080 Merge branch 'doc_references' into 'master'
Cosmetic fixes to reference in manual

See merge request Dynare/dynare!1628
2018-11-14 11:33:49 +00:00
Johannes Pfeifer bb1642b5b8 Cosmetic fixes to reference in manual 2018-11-14 12:15:59 +01:00
Sébastien Villemot 736d43c4e6
Bump minimal MATLAB version requirement to 7.9 (R2009b) 2018-11-13 15:59:16 +01:00
Houtan Bastani 2dcaff4f16
preprocessor: submodule update 2018-11-07 15:57:22 +01:00
Houtan Bastani e37549461b
doc: update mexext, matlabroot options 2018-11-06 16:41:35 +01:00
Sébastien Villemot 096936be9c
The preprocessor now compiles the MEX when use_dll is specified
Update documentation accordingly (except on macOS where the solution has not
yet been implemented).

Also include MinGW in the Windows installer.
2018-10-29 14:41:34 +01:00
Stéphane Adjemian (Charybdis) 6a847931dc
Dynare computes the excess kurtosis.
See https://forum.dynare.org/t/simulated-kurtosis-reported-incorrectly/12534
2018-10-03 23:22:33 +02:00
Michel Juillard 3ad654b9b8
Allowing for different number of periods in conditional_forecast_path.
Updated preprocessor submodule.
2018-09-27 18:58:24 +02:00
Sébastien Villemot 7b834bef29 Update URLs for the move to GitLab 2018-09-10 11:55:04 +02:00
Sébastien Villemot d03cc56587 solve_algo=7 and stack_solve_algo=2 are now allowed under Octave
The gmres() function has been implemented (actually since Octave 3.4.1!).
2018-08-02 15:20:39 +02:00
Houtan Bastani 01d5a13082 preprocessor: submodule update: on-the-fly variable declaration in equation tags 2018-07-09 15:36:49 +02:00
Houtan Bastani cfee93b080 preprocessor: submodule update: macro functions 2018-07-09 15:36:49 +02:00
Houtan Bastani ec3e32a12f update copyright year for doc 2018-07-09 15:36:49 +02:00
Sébastien Villemot a1b8bd39b2 Move the location of various generated files on the filesystem
- M and MEX files are now under +${MODELNAME}/
- bytecode, C source and JSON now under ${MODELNAME}/model/
2018-06-27 17:03:39 +02:00
Johannes Pfeifer fa363f7e4b Correct name in manual 2018-06-07 23:15:24 +02:00
Sébastien Villemot 5166b43add Fix case 2018-05-17 12:06:07 +02:00
Stéphane Adjemian(Charybdis) f53be721c1 Added new option mh_tune_jscale.
Works only with the Random Walk Metropolis Hastings algorithm.

Closes #1598
2018-05-16 16:37:22 +02:00
Sébastien Villemot a3301777c9 Update my email and affiliation 2018-05-16 10:23:30 +02:00
Stéphane Adjemian(Charybdis) 8f53be2a6f Impose the consistency of the count of unstable eigenvalues...
... Between stoch_simul and check. Added sdim (the number of stable
eigenvalues) and edim (the complementary number of explosive eigenvalues) in dr
structure. The test is always done with sdim (or edim) returned by mjdgges.
2018-05-05 19:53:13 +02:00
Adrian Bunk 9e06eb8e65 Set the input encoding in parallel.tex
This fixes compilation with TeX Live 2018.
2018-04-23 17:49:15 +02:00
Houtan Bastani fdb72bb633 doc: fix warnings 2018-03-20 16:48:57 +01:00
Houtan Bastani 7f3120eb2e preprocessor: submodule update; introduction of on-the-fly variable declaration 2018-03-20 16:43:06 +01:00
Houtan Bastani 5d1a132374 move preprocessor and macroprocessor documentation to preprocessor submodule 2018-02-19 15:10:07 +01:00
Marco Ratto e45acc11cc fix error in documentation of presample in realtime shock decomposition 2018-02-01 19:15:07 +01:00
Johannes Pfeifer dde1acd18d Make fast_realtime accept observation as input 2018-01-26 18:23:49 +01:00
Johannes Pfeifer 911ca2a54f Add preprocessor interface for fast_realtime option of 2018-01-12 09:48:14 +01:00
Houtan 27317d25c5 preprocessor: add option to remove empty lines from macro-expanded mod file. closes #1551 2017-12-07 18:47:21 +01:00
Houtan 4a6fd427e0 preprocessor: add line number to field in structure that macro variables are saved to. #1564 2017-12-07 18:11:00 +01:00
Houtan Bastani 1d1a91239e preprocessor: support echomacrovars(save). closes #1564 2017-12-04 16:56:43 +01:00
Houtan Bastani c258bad2ab dynare command line: be less strict in accepting macros from .mod file 2017-11-14 12:21:48 +01:00
Houtan Bastani 21c8c3e586 doc: add verbatim BibTeX code for citing dynare 2017-10-13 13:50:49 +02:00
Houtan Bastani 87ea953aa7 doc: add Junior to citation in manual 2017-10-13 13:30:11 +02:00
Houtan Bastani a03834ac3e doc: update guidelines for citing dynare 2017-10-13 12:36:09 +02:00
Houtan Bastani 372decfe90 doc: update dynare compatibility 2017-10-13 12:18:35 +02:00
Houtan Bastani 6d7ae68e2e doc: update references to wiki and forum 2017-10-13 12:09:21 +02:00
Houtan Bastani 85dc468f74 doc: remove references to user guide 2017-10-13 12:09:03 +02:00
Johannes Pfeifer 8779b5a603 Document VarianceDecompositionME field 2017-10-05 11:33:17 +02:00
Johannes Pfeifer a1222a1d1b Implement variance decomposition with measurement error 2017-10-05 11:33:17 +02:00
Houtan Bastani 5c821b784d doc: move user guide to https://github.com/DynareTeam/user-guide.git 2017-09-22 11:52:51 +02:00
Houtan Bastani 513abe445f doc: update for change in 24a03ee290. #1509 2017-09-08 18:20:56 +02:00
Stéphane Adjemian (Scylla) 591a68bf50 Added option stochastic to Dynare command. 2017-08-31 10:19:43 +02:00
Houtan Bastani 349834eeca preprocessor: add write_latex_steady_steade_model command. Closes #1496 2017-08-30 14:30:06 +02:00
Houtan Bastani 09d44c89fd preprocessor: add parameter_set option to evaluate_smoother command. Closes #1477 2017-08-28 18:25:37 +02:00
Houtan Bastani 628c4cf27b preprocessor: add model_local_variable declaration for declaring model local variables with tex names. Closes #563 2017-08-28 17:24:56 +02:00
Houtan Bastani a8073a8d31 doc: add documentation for nopreprocessoroutput option. #1390 2017-08-25 17:41:40 +02:00
Houtan Bastani 1551d33e9e preprocessor: add write_equation_tags option to write_latex_original_model and write_latex_static_model. closes #1431 2017-08-24 16:10:53 +02:00
Johannes Pfeifer b4a52b8076 conditional_forecasts: Fix errors in manual 2017-08-16 19:45:58 +02:00
Johannes Pfeifer 8e899aa6bc Fix another typo in manual 2017-07-17 19:33:51 +02:00
Johannes Pfeifer 9f00081310 Fix typos in manual
Thanks to Jean-Paul K. Tsasa
2017-07-17 08:39:11 +02:00
Stéphane Adjemian 6a789458f1 Merge pull request #1474 from JohannesPfeifer/mode_compute_6_doc
mode_compute=6: Fix mistakes in manual
2017-06-30 12:01:46 +02:00
Johannes Pfeifer 2e06a636cd mode_compute=6: Fix mistakes in manual 2017-06-30 10:50:49 +02:00
Stéphane Adjemian (Charybdis) 63d6dfccf4 Added the possibility to dynare the dynare command options in the mod file. 2017-06-30 10:16:26 +02:00
Houtan Bastani 5eb66ff1ab preprocessor: only create one dynamic/static JSON file 2017-06-29 15:11:22 +02:00
Houtan Bastani 9a13adb111 preprocessor: print JSON deriv detail by default; use option to print less-detailed versions of dynamic/static models 2017-06-29 13:08:41 +02:00
Sébastien Villemot f1ed349d6b Enfore standard tmp directory when calling latex2html. 2017-06-29 12:32:21 +02:00
Sébastien Villemot 5feea2fc72 Update macro-processor slides (new @#include variant). 2017-06-28 18:19:10 +02:00
Sébastien Villemot 1270f12439 Drop texi2html requirement (obsolete software), use texi2any instead. 2017-06-28 17:24:26 +02:00
Stéphane Adjemian (Charybdis) 684861ce87 Fixed typos. 2017-06-28 15:35:05 +02:00
Houtan Bastani 1c2d116a0f doc: fix up wording of JSON description 2017-06-28 12:13:23 +02:00
Houtan Bastani 3938381e99 preprocessor: write JSON output for original model when writing after transform pass 2017-06-28 12:04:04 +02:00
Houtan Bastani 170d90bd84 doc: fix bug introduced in 8e0791d05c 2017-06-28 11:08:17 +02:00
Houtan Bastani 8e0791d05c doc: add info about JSON output 2017-06-28 11:02:16 +02:00
Houtan Bastani f917869439 doc: macOS related updates 2017-06-15 14:03:59 +02:00
Stéphane Adjemian (Charybdis) 0ed62fb476 Fixed authors ordering. 2017-06-11 02:25:05 +02:00
Johannes Pfeifer ac15f60ec6 Fix typo in manual and clarify analytic_derivation option 2017-05-27 18:30:40 +02:00
Stéphane Adjemian 502612a5a5 Merge pull request #1451 from JohannesPfeifer/bvar_doc
Document how to set options for BVAR Irfs
2017-05-16 12:49:30 +02:00
Johannes Pfeifer 6dde340c1e Document how to set options for BVAR Irfs 2017-05-14 18:37:34 +02:00
Johannes Pfeifer 660b370fb3 Fix typos in manual (thanks to Daniel Bendel) 2017-05-03 15:06:16 +02:00
Johannes Pfeifer 0361fb29dc Add documentation of one_sided_hp_filter missing from f7175745ac 2017-05-02 12:27:27 +02:00
Stéphane Adjemian 072246c5ab Merge pull request #1441 from JohannesPfeifer/ksstat
Remove redundant ksstat option
2017-04-29 18:00:25 +02:00
Johannes Pfeifer d7b2e271d7 Update documentation on sensitivity
Closes #789
2017-04-27 12:03:02 +02:00
Johannes Pfeifer 451646ff16 Remove redundant ksstat option
Closes #1431
2017-04-27 11:08:17 +02:00
Stéphane Adjemian (Charybdis) d6e1d0baa5 Added option rescale_prediction_error_covariance. 2017-04-26 18:22:03 +02:00
Houtan Bastani 753d8a17f0 preprocessor: move equation tags out of dmath mode, include all equation tags in one set of brackets, allow equation tags to be interpreted as latex, modify manual and test accordingly. #477 2017-04-05 11:01:25 +02:00
Houtan Bastani 14f4544a29 preprocessor: add option to write equation tags in latex output. closes #477 2017-04-04 16:08:30 +02:00
Stéphane Adjemian (Charybdis) f9a462bf07 Added option nonlinear_filter_initialization.
Default value is 1 (initialization with the ergodic variance of the reduced
form solution of the model approximated at order one).

If the model has unit roots, the user must use `nonlinear_filter_initialization=3`,
which select an identity matrix for the initial covariance matrix of the state variables.

A side effect of this option is to temporarily change the value of options_.qz_criterium to
a value above one (ie 1+1e-6) so that the unit roots are not rejected. If the
model has unit roots and if the and if the option
nonlinear_filter_initialization has a value less than 3, the evaluation of the
likelihood will fail, because by default the unit root is counted as an
unstable root.
2017-04-03 11:25:05 +02:00
Stéphane Adjemian (Charybdis) 8eefb6a747 Fixed warning introduced in b5c353f5a3. 2017-04-03 11:25:05 +02:00
Johannes Pfeifer b64aa57bc3 Update affiliation of Johannes 2017-04-01 19:59:29 +02:00
Houtan Bastani 6571f7ea68 doc: fix changes merged in ad2e1ffc8d 2017-03-28 11:56:38 +02:00
Johannes Pfeifer b5f989ccb1 Manual: Define integer_vector 2017-03-28 11:39:44 +02:00
Johannes Pfeifer 368262d5f1 Update manual on realtime_shock_decomposition following Marco's description 2017-03-28 11:35:27 +02:00
Johannes Pfeifer b5c353f5a3 Prevent Texinfo from replacing straight quotation marks in codes by italic ones 2017-03-27 12:36:18 +02:00
Johannes Pfeifer 14b8604de5 Restructure manual on shock_decomposition
- Introduces proper definition of output variables
- Clarifies various options
2017-03-27 12:35:36 +02:00
Johannes Pfeifer 94f09402a2 Manual: Add new subsections for commands not belonging to estimation 2017-03-27 11:43:07 +02:00
Houtan Bastani b3ecc8c003 preprocessor: add plot_shock_decomposition command. closes #1406 2017-03-24 12:11:36 +01:00
Houtan Bastani 2be17e1ebd doc: more fixes to documentation 2017-03-24 10:34:59 +01:00
Houtan Bastani 4f432b7e58 doc: update plot_shock_decomposition option names 2017-03-24 10:34:59 +01:00
Stéphane Adjemian c24ebb6055 Merge pull request #1413 from JohannesPfeifer/manual_fix
Fix typo in manual
2017-03-22 12:40:08 +01:00
Houtan Bastani 24abebb0b4 doc: correct argumnets to options 2017-03-21 14:35:04 +01:00
Houtan Bastani 4b4ee1cd92 doc: fix typo 2017-03-21 14:27:58 +01:00
Houtan Bastani 30232985ee doc: fix markups of i.e. and e.g. 2017-03-21 14:15:51 +01:00
Houtan Bastani 2a33cd1bb0 doc: fix doc following recent changes 2017-03-21 12:48:11 +01:00
Johannes Pfeifer effcd3d12a Fix typo in manual
ts does not exist
2017-03-21 09:48:55 +01:00
Johannes Pfeifer 9abac8ccdb Store indicator whether smoother was used with loglinear
Required to keep track of whether estimates were logged. Related to #1407
2017-03-20 11:36:10 +01:00
Stéphane Adjemian (Charybdis) dd02aa4c03 Expand reference manual on loglinear.
Partial cherry-pick of 3fc2e2b967d7c779058922e9f7fd9f688118a2f0 by Johannes Pfeifer.
2017-03-20 10:17:32 +01:00
Marco Ratto f52035a3a0 updated documentation about sub_draws 2017-03-18 00:06:15 +01:00
Marco Ratto a9732afaf6 document behavior of filtered_vars, filter_covariance and filter_step_ahead 2017-03-17 15:43:00 +01:00
Johannes Pfeifer 5d8d5e90d8 evaluate_smoother.m: pass updated M_.params and oo_ back to base workspace
Closes #1373
2017-03-17 13:15:39 +01:00