Skip to main content

Manipulation testing based on density discontinuity.

Project description

RDDENSITY

The rddensity package provides tools for manipulation testing around a cutoff using local polynomial density estimators, bandwidth selection, and density plotting.

  • rddensity: implements density discontinuity testing.
  • rdbwdensity: implements bandwidth selectors for manipulation testing.
  • rdplotdensity: implements density plots around the cutoff.

See Cattaneo, Jansson and Ma (2018, 2020, 2022, 2024) for references.

Website: https://rdpackages.github.io/.

Source code: https://github.com/rdpackages/rddensity.

Authors

Matias D. Cattaneo, maintainer (matias.d.cattaneo@gmail.com)

Michael Jansson (michael.jansson.berkeley@gmail.com)

Xinwei Ma (xinweima.pku@gmail.com)

Ricardo Masini, Python contributor (ricardo.masini@gmail.com)

Installation

To install/update use pip:

pip install rddensity

Usage

from rddensity import rddensity, rdbwdensity, rdplotdensity

Dependencies

  • numpy
  • pandas
  • scipy
  • sympy
  • plotnine
  • lpdensity

References

For overviews and introductions, see the rdpackages website.

Software and Implementation

Technical and Methodological

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

rddensity-3.0.tar.gz (19.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rddensity-3.0-py3-none-any.whl (20.7 kB view details)

Uploaded Python 3

File details

Details for the file rddensity-3.0.tar.gz.

File metadata

  • Download URL: rddensity-3.0.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for rddensity-3.0.tar.gz
Algorithm Hash digest
SHA256 8c48e490e62d42347e0fd5fdddb3c33fe812e07c9bdba2e71d214eb92921dbf7
MD5 b862d68e7dfbb3f3114e8ecdfc6bca1c
BLAKE2b-256 82bc4481255a9c40ee800b81f96cafd0d423ced295fcee852855a79d9610e775

See more details on using hashes here.

Provenance

The following attestation bundles were made for rddensity-3.0.tar.gz:

Publisher: publish-python.yml on rdpackages/rddensity

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rddensity-3.0-py3-none-any.whl.

File metadata

  • Download URL: rddensity-3.0-py3-none-any.whl
  • Upload date:
  • Size: 20.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for rddensity-3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9175430dd26956a94ac2811f8ca0963a40939cce2aaf8aa3f9929f05bae26840
MD5 6d753a758af22462a06cdb740708ca38
BLAKE2b-256 b299c13f08e60287b852dba07952567a92d7efbda9f6aa8006581bb7371e8ee1

See more details on using hashes here.

Provenance

The following attestation bundles were made for rddensity-3.0-py3-none-any.whl:

Publisher: publish-python.yml on rdpackages/rddensity

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page