npDoseResponse

Python and R packages for "Nonparametric Inference on Dose-Response Curves Without the Positivity Condition"

https://github.com/zhangyk8/npdoseresponse

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

derivative-estimation dose-response-function kernel-smoothing nonparametric-bootstrap
Last synced: 10 months ago · JSON representation

Repository

Python and R packages for "Nonparametric Inference on Dose-Response Curves Without the Positivity Condition"

Basic Info
  • Host: GitHub
  • Owner: zhangyk8
  • License: mit
  • Language: Jupyter Notebook
  • Default Branch: main
  • Homepage:
  • Size: 118 MB
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 1
Topics
derivative-estimation dose-response-function kernel-smoothing nonparametric-bootstrap
Created about 2 years ago · Last pushed over 1 year ago
Metadata Files
Readme License Citation

README.md

PyPI pyversions PyPI version Downloads Documentation Status

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.

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

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

  • Versions: 10
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 41 Last month
Rankings
Dependent packages count: 9.4%
Average: 35.8%
Dependent repos count: 62.3%
Maintainers (1)
Last synced: 10 months ago
cran.r-project.org: npDoseResponse

Nonparametric Estimation and Inference on Dose-Response Curves

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 509 Last month
Rankings
Forks count: 28.8%
Dependent packages count: 28.8%
Dependent repos count: 35.5%
Stargazers count: 36.0%
Average: 42.9%
Downloads: 85.2%
Maintainers (1)
Last synced: 11 months ago

Dependencies

R_Package/DESCRIPTION cran
  • parallel * imports
  • stats * imports
  • locpol * suggests
docs/requirements.txt pypi
  • ipykernel *
  • nbsphinx *
  • numpy >=1.16
  • sphinx >=1.4
  • sphinx-rtd-theme *
setup.py pypi
  • numpy *