Semiparametric Causal Inference for Right-Censored Outcomes with Many Weak Invalid Instruments
Project description
mawiisurv
mawiisurv implements G‐estimation methods for treatment effects under endogeneity, both with and without right‐censoring, using a variety of machine‐learning and classical estimators.
Features
- Complete‐data G‐estimator (
mawii_noncensor) - Right‐censoring G‐estimator (
mawii_censor) - Multiple model backends:
- Neural networks
- Linear regression
- Random forests
- XGBoost
- Choice of Generalized Empirical Likelihood (GEL) functions:
- Empirical Tilting (ET)
- Empirical Likelihood (EL)
- Continuous Updating Estimator (CUE)
Installation
Install from PyPI:
pip install mawiisurv
Dependencies
Make sure you have the following installed (the minimal compatible versions shown):
numpy>=1.19
torch>=1.8
scipy>=1.5
scikit-learn>=0.24
xgboost>=1.3
numba>=0.53
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mawiisurv-0.2.0.tar.gz
(9.9 kB
view details)
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
mawiisurv-0.2.0-py3-none-any.whl
(10.3 kB
view details)
File details
Details for the file mawiisurv-0.2.0.tar.gz.
File metadata
- Download URL: mawiisurv-0.2.0.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be560e52c34728bfaddc2cb998cb6fc8828084984b2b6fd7d844bf8f8255ab28
|
|
| MD5 |
36f9139f89ae5f936132ef349858e28c
|
|
| BLAKE2b-256 |
125ba5f02f5965d87829cae5633c7f3b2d0e191a6b77e30eb8cfb35e1a31ebc6
|
File details
Details for the file mawiisurv-0.2.0-py3-none-any.whl.
File metadata
- Download URL: mawiisurv-0.2.0-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6479a721c95e4f45a06b5441782836e8870f0a05f06793e7826ff494cfa777e
|
|
| MD5 |
f069a9ba1e09d6307860c02b2c97ad5d
|
|
| BLAKE2b-256 |
6dafcff08a681dafc3239489cf9fe7440e5dfbd539cf6951b84ac74abea6eb5c
|