diff --git a/doc/manual/source/conf.py b/doc/manual/source/conf.py index 50688bdfaed33675a32ec225909aff589e42a155..5e8bf7f4761374eb9bea4f10d73f4158ed7b0464 100644 --- a/doc/manual/source/conf.py +++ b/doc/manual/source/conf.py @@ -22,15 +22,43 @@ import sys sys.path.insert(0, os.path.abspath('../utils')) +# define author_year_round style, see https://github.com/mcmtroffaes/sphinxcontrib-bibtex/blob/develop/test/roots/test-citation_style_round_brackets/conf.py + +import dataclasses +import sphinxcontrib.bibtex.plugin + +from sphinxcontrib.bibtex.style.referencing import BracketStyle +from sphinxcontrib.bibtex.style.referencing.author_year \ + import AuthorYearReferenceStyle + +my_bracket_style = BracketStyle( + left='(', + right=')', +) + +@dataclasses.dataclass +class MyReferenceStyle(AuthorYearReferenceStyle): + bracket_parenthetical: BracketStyle = my_bracket_style + bracket_textual: BracketStyle = my_bracket_style + bracket_author: BracketStyle = my_bracket_style + bracket_label: BracketStyle = my_bracket_style + bracket_year: BracketStyle = my_bracket_style + + +sphinxcontrib.bibtex.plugin.register_plugin( + 'sphinxcontrib.bibtex.style.referencing', + 'author_year_round', MyReferenceStyle) + + extensions = ['sphinx.ext.autodoc', 'sphinx.ext.mathjax', 'sphinxcontrib.bibtex'] bibtex_bibfiles = ['../../dr.bib'] -bibtex_default_style = 'unsrt' +bibtex_default_style = 'alpha' -bibtex_reference_style = 'author_year' +bibtex_reference_style = 'author_year_round' source_suffix = '.rst' diff --git a/doc/manual/source/the-model-file.rst b/doc/manual/source/the-model-file.rst index 7c699617cb6d5e9e08fd5fff7961b178b4af44e2..cb584182c6c384596b593fc7a4af07cfc0a6e455 100644 --- a/doc/manual/source/the-model-file.rst +++ b/doc/manual/source/the-model-file.rst @@ -8137,7 +8137,7 @@ and :cite:t:`RugeMurcia:2012`, whereas the one for GMM is adapted from the perturbation approximation, so it is advised to tune this as much as possible (see :ref:`stoch-sol-simul`). The method of moments estimator is consistent and asymptotically normally distributed given certain regularity conditions -(see :cite:t:`Duffie1993` for SMM and :cite:t:`Hansen:1982` for GMM). +(see :cite:t:`Duffie:1993` for SMM and :cite:t:`Hansen:1982` for GMM). For instance, it is required to have at least as many moment conditions as estimated parameters (over-identified or just identified). Moreover, the Jacobian of the moments with respect to the estimated parameters needs to