Metadata-Version: 2.4
Name: ivmodels
Version: 0.7.0
Summary: IV Models
Author-email: Malte Londschien <malte@londschien.ch>
Project-URL: homepage, https://github.com/mlondschien/ivmodels/
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy
Requires-Dist: scikit-learn
Requires-Dist: glum
Requires-Dist: scipy
Dynamic: license-file

# Instrumental Variables Regression in Python

`ivmodels` implements

 - *K-Class* estimators, including the Limited Information Maximum Likelihood (*LIML*) and the Two-Stage Least Squares (*TSLS*) estimator.
 - Tests and confidence sets for the parameters of the model, including the *Anderson-Rubin test*, 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-test* (including its LIML variant).

See the [docs](https://ivmodels.readthedocs.io/en/latest/) and the examples therein for more details.

If you use this code, consider citing
```
@article{londschien2024weak,
  title={Weak-instrument-robust subvector inference in instrumental variables regression: A subvector Lagrange multiplier test and properties of subvector Anderson-Rubin confidence sets},
  author={Londschien, Malte and B{\"u}hlmann, Peter},
  journal={arXiv preprint arXiv:2407.15256},
  year={2024}
}
```

## Installation

You can install `ivmodels` from `conda` (recommended):
```
conda install -c conda-forge ivmodels
```
or `pip`:
```
pip install ivmodels
```
