IV Models
Project description
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 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ivmodels-0.9.0.tar.gz.
File metadata
- Download URL: ivmodels-0.9.0.tar.gz
- Upload date:
- Size: 82.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ee9a86d4e7224d03b52bebfcae24fb7fedcc63e06284de1ab74fee3319071f1
|
|
| MD5 |
9ec941d317db8bfa3d7fb4175e86b545
|
|
| BLAKE2b-256 |
33e5d6c47a17e817c788f34bcc47b2e8a4b26f7a2cb55f9f3bb56acabdf7fc12
|
Provenance
The following attestation bundles were made for ivmodels-0.9.0.tar.gz:
Publisher:
build.yaml on mlondschien/ivmodels
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ivmodels-0.9.0.tar.gz -
Subject digest:
1ee9a86d4e7224d03b52bebfcae24fb7fedcc63e06284de1ab74fee3319071f1 - Sigstore transparency entry: 469396631
- Sigstore integration time:
-
Permalink:
mlondschien/ivmodels@072b4341aa4167c37f91c225a8a841700d0ae57b -
Branch / Tag:
refs/tags/0.9.0 - Owner: https://github.com/mlondschien
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yaml@072b4341aa4167c37f91c225a8a841700d0ae57b -
Trigger Event:
release
-
Statement type:
File details
Details for the file ivmodels-0.9.0-py3-none-any.whl.
File metadata
- Download URL: ivmodels-0.9.0-py3-none-any.whl
- Upload date:
- Size: 55.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dcf94d318a3b3febc9d76da0a5ac834aa702debb50a7349459d90d77f7cc34c9
|
|
| MD5 |
e55cc1c926952b83b824e6c290f8a62a
|
|
| BLAKE2b-256 |
68071335c452306a4844bad88a9be916ee57822af5090765611693869bebfdcf
|
Provenance
The following attestation bundles were made for ivmodels-0.9.0-py3-none-any.whl:
Publisher:
build.yaml on mlondschien/ivmodels
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ivmodels-0.9.0-py3-none-any.whl -
Subject digest:
dcf94d318a3b3febc9d76da0a5ac834aa702debb50a7349459d90d77f7cc34c9 - Sigstore transparency entry: 469396645
- Sigstore integration time:
-
Permalink:
mlondschien/ivmodels@072b4341aa4167c37f91c225a8a841700d0ae57b -
Branch / Tag:
refs/tags/0.9.0 - Owner: https://github.com/mlondschien
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yaml@072b4341aa4167c37f91c225a8a841700d0ae57b -
Trigger Event:
release
-
Statement type: