Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add examples to docs #114

Merged
merged 11 commits into from
Aug 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Changelog
0.3.1 - 2024-07-30
------------------

** Bug fixes:**
**Bug fixes:**

- Fixed bug in
:class:`~ivmodels.tests.conditional_likelihood_ratio.inverse_conditional_likelihood_ratio_test`.
Expand Down
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
# IV Models
# ivmodels

ivmodels is a Python library for instrumental variable estimation.
It implements

- K-Class estimators, including the Limited Information Maximum Likelihood (LIML) estimator and the Two-Stage Least Squares (TSLS) estimator.
- Tests and confidence sets for the parameters of the model, including the Anderson-Rubin test, the the Lagrange multiplier test, the (conditional) likelihood-ratio test, and the Wald test.
- Auxiliary tests such as Anderson's (1951) test of reduced rank (a multivariate extension to the first-stage F-test) and the J-statistic (including its LIML variant).


2 changes: 2 additions & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
html
doctrees
59 changes: 59 additions & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
API
===

Estimators
----------

.. autoclass:: ivmodels.KClass
:members: fit
:noindex:

.. autoclass:: ivmodels.models.AnchorRegression
:members: fit
:noindex:

.. autoclass:: ivmodels.models.PULSE
:members: fit
:noindex:

.. autoclass:: ivmodels.models.SpaceIV
:members: fit
:noindex:

Tests
-----

.. automodule:: ivmodels.tests
:members:
:noindex:

Summary
-------

.. autoclass:: ivmodels.summary.Summary
:members:
:noindex:

.. autoclass:: ivmodels.summary.CoefficientTable
:members:
:noindex:

ConfidenceSet
-------------

.. autoclass:: ivmodels.confidence_set.ConfidenceSet
:members:
:noindex:

Quadric
-------

.. autoclass:: ivmodels.quadric.Quadric
:members:
:noindex:


Bibliography
------------

.. bibliography::
1 change: 1 addition & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.. include:: ../CHANGELOG.rst
2 changes: 2 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,11 @@
"sphinx_rtd_theme",
"sphinx.ext.intersphinx",
"sphinx.ext.mathjax",
"nbsphinx",
"sphinxcontrib.bibtex",
]


bibtex_bibfiles = ["bib.bib"]
bibtex_reference_style = "author_year"

Expand Down
Loading
Loading