Skip to main content

Robust Local Polynomial Methods for RD designs with Multiple Cutoffs or Multiple Scores

Project description

Robust Local Polynomial Methods for RD designs with Multiple Cutoffs or Multiple Scores

The package rdmulti implements estimation, inference, and graphical procedures for Regression Discontinuity (RD) designs with multiple cutoffs or multiple scores.

  • rdmc: point estimation and robust bias-corrected inference for multi-cutoff designs.
  • rdmcplot: data-driven RD plots for multi-cutoff designs.
  • rdms: point estimation and robust bias-corrected inference for multi-score designs.

See references for methodological and practical details.

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

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

Authors

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

Ricardo Masini (ricardo.masini@gmail.com)

Rocio Titiunik (rocio.titiunik@gmail.com)

Gonzalo Vazquez-Bare (gvazquezbare@gmail.com)

Installation

To install/update use pip:

pip install rdmulti

Usage

import pandas as pd
from rdmulti import rdmc, rdmcplot

df = pd.read_csv("simdata_multic.csv")

# Multi-cutoff estimation
fit = rdmc(df["y"], df["x"], df["c"])

# Multi-cutoff plot data and figure
plot = rdmcplot(df["y"], df["x"], df["c"])

Dependencies

  • numpy
  • pandas
  • scipy
  • rdrobust

References

For overviews and introductions, see 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

rdmulti-2.0.0.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

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

rdmulti-2.0.0-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file rdmulti-2.0.0.tar.gz.

File metadata

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

File hashes

Hashes for rdmulti-2.0.0.tar.gz
Algorithm Hash digest
SHA256 7f40f42150733d4380a167a0f31eb1106892f25178a9669c43a32a4d4a467342
MD5 f3818a8eb58e6be73a550263358b22d8
BLAKE2b-256 11f4cc88e5648472ada6f63211868bf1a6f9a5ce502d8f65ce608a072784fb67

See more details on using hashes here.

Provenance

The following attestation bundles were made for rdmulti-2.0.0.tar.gz:

Publisher: publish-python.yml on rdpackages/rdmulti

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

File details

Details for the file rdmulti-2.0.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for rdmulti-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 028f671652dd73978021e55b301fd9c2f7f459e26be00db56660ac98a2fa82e5
MD5 2048069bd010b2ea46b2f4cdf93e4735
BLAKE2b-256 b3ecd005495b8fc970d6ef5f8adc200b95c7574ad6615c71f3e58a9743c29d8e

See more details on using hashes here.

Provenance

The following attestation bundles were made for rdmulti-2.0.0-py3-none-any.whl:

Publisher: publish-python.yml on rdpackages/rdmulti

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