npDoseResponse
Python and R packages for "Nonparametric Inference on Dose-Response Curves Without the Positivity Condition"
Science Score: 23.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
✓Academic publication links
Links to: arxiv.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.3%) to scientific vocabulary
Keywords
Repository
Python and R packages for "Nonparametric Inference on Dose-Response Curves Without the Positivity Condition"
Basic Info
Statistics
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 1
Topics
Metadata Files
README.md
Nonparametric Inference on Dose-Response Curve and its Derivative
This package provides the implementation of estimating and conducting valid inference on the covariate-adjusted regression function (or the dose-response curve in causal inference) and its derivative through the proposed integral estimator and a localized derivative estimator in [1]. It also implements the regression adjustment (RA), inverse probability weighting (IPW) and doubly robust (DR) estimators of the dose-response curve and its derivative function with and without the positivity condition in [2]. All the code for simulations and real-world applications in our papers are documented in Paper 1 and Paper 2.
- Free software: MIT license
- Python Package Documentation: https://npdoseresponse.readthedocs.io.
- We also provide an R package npDoseResponse for those estimators in [1], though the Python package will be numerically stabler.
Installation guide
npDoseResponse requires Python 3.8+ (earlier version might be applicable) and NumPy. To install the latest version of npDoseResponse from this repository, run:
python setup.py install
To pip install a stable release, run:
pip install npDoseResponse
References
[1] Y. Zhang, Y.-C. Chen, and A. Giessing (2024+) Nonparametric Inference on Dose-Response Curves Without the Positivity Condition arXiv:2405.09003.
[2] Y. Zhang and Y.-C. Chen (2025+) Doubly Robust Inference on Causal Derivative Effects for Continuous Treatments arXiv:2501.06969.
Owner
- Name: Yikun Zhang
- Login: zhangyk8
- Kind: user
- Location: Guangzhou, China / Seattle, USA
- Company: University of Washington, Seattle
- Repositories: 4
- Profile: https://github.com/zhangyk8
GitHub Events
Total
- Push event: 40
Last Year
- Push event: 40
Packages
- Total packages: 2
-
Total downloads:
- cran 509 last-month
- pypi 41 last-month
-
Total dependent packages: 0
(may contain duplicates) -
Total dependent repositories: 0
(may contain duplicates) - Total versions: 11
- Total maintainers: 2
pypi.org: npdoseresponse
Nonparametric Inference on Dose-Response Curve and its Derivative: With and Without Positivity
- Homepage: https://github.com/zhangyk8/npDoseResponse
- Documentation: https://npdoseresponse.readthedocs.io/
- License: MIT License
-
Latest release: 0.0.10
published over 1 year ago
Rankings
Maintainers (1)
cran.r-project.org: npDoseResponse
Nonparametric Estimation and Inference on Dose-Response Curves
- Homepage: https://github.com/zhangyk8/npDoseResponse/
- Documentation: http://cran.r-project.org/web/packages/npDoseResponse/npDoseResponse.pdf
- License: MIT + file LICENSE
-
Latest release: 0.1
published about 2 years ago
Rankings
Maintainers (1)
Dependencies
- parallel * imports
- stats * imports
- locpol * suggests
- ipykernel *
- nbsphinx *
- numpy >=1.16
- sphinx >=1.4
- sphinx-rtd-theme *
- numpy *