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"])
- Replication: rdmulti illustration, multi-cutoff data, cumulative-cutoff data, multi-score data.
Dependencies
- numpy
- pandas
- scipy
- rdrobust
References
For overviews and introductions, see rdpackages website.
Software and Implementation
- Cattaneo, Titiunik and Vazquez-Bare (2020): Analysis of Regression Discontinuity Designs with Multiple Cutoffs or Multiple Scores.
Stata Journal 20(4): 866-891.
Technical and Methodological
-
Keele and Titiunik (2015): Geographic Boundaries as Regression Discontinuities.
Political Analysis 23(1): 127-155. -
Cattaneo, Keele, Titiunik and Vazquez-Bare (2016): Interpreting Regression Discontinuity Designs with Multiple Cutoffs.
Journal of Politics 78(4): 1229-1248.
Supplemental Appendix. -
Cattaneo, Keele, Titiunik and Vazquez-Bare (2020): Extrapolating Treatment Effects in Multi-Cutoff Regression Discontinuity Designs.
Journal of the American Statistical Association 116(536): 1941-1952.
Supplemental Appendix.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f40f42150733d4380a167a0f31eb1106892f25178a9669c43a32a4d4a467342
|
|
| MD5 |
f3818a8eb58e6be73a550263358b22d8
|
|
| BLAKE2b-256 |
11f4cc88e5648472ada6f63211868bf1a6f9a5ce502d8f65ce608a072784fb67
|
Provenance
The following attestation bundles were made for rdmulti-2.0.0.tar.gz:
Publisher:
publish-python.yml on rdpackages/rdmulti
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rdmulti-2.0.0.tar.gz -
Subject digest:
7f40f42150733d4380a167a0f31eb1106892f25178a9669c43a32a4d4a467342 - Sigstore transparency entry: 1550231519
- Sigstore integration time:
-
Permalink:
rdpackages/rdmulti@3d177b03499b2fcf8152b843a35b6c99c9a6a53f -
Branch / Tag:
refs/heads/main - Owner: https://github.com/rdpackages
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python.yml@3d177b03499b2fcf8152b843a35b6c99c9a6a53f -
Trigger Event:
workflow_dispatch
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
028f671652dd73978021e55b301fd9c2f7f459e26be00db56660ac98a2fa82e5
|
|
| MD5 |
2048069bd010b2ea46b2f4cdf93e4735
|
|
| BLAKE2b-256 |
b3ecd005495b8fc970d6ef5f8adc200b95c7574ad6615c71f3e58a9743c29d8e
|
Provenance
The following attestation bundles were made for rdmulti-2.0.0-py3-none-any.whl:
Publisher:
publish-python.yml on rdpackages/rdmulti
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rdmulti-2.0.0-py3-none-any.whl -
Subject digest:
028f671652dd73978021e55b301fd9c2f7f459e26be00db56660ac98a2fa82e5 - Sigstore transparency entry: 1550231825
- Sigstore integration time:
-
Permalink:
rdpackages/rdmulti@3d177b03499b2fcf8152b843a35b6c99c9a6a53f -
Branch / Tag:
refs/heads/main - Owner: https://github.com/rdpackages
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python.yml@3d177b03499b2fcf8152b843a35b6c99c9a6a53f -
Trigger Event:
workflow_dispatch
-
Statement type: