Name | rdrobust JSON |
Version |
1.3.0
JSON |
| download |
home_page | https://github.com/rdpackages/rdrobust |
Summary | Implements local polynomial Regression Discontinuity (RD) point estimators with robust bias-corrected confidence intervals and inference procedures. |
upload_time | 2024-09-14 15:23:56 |
maintainer | None |
docs_url | None |
author | Ricardo Masini |
requires_python | >=3.6 |
license | None |
keywords |
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# RDROBUST
The `rdrobust` package implements the statistical inference and graphical procedures for Regression Discontinuity designs employing local polynomial and partitioning methods. It provides point estimators, confidence intervals estimators, bandwidth selectors, automatic RD plots, and many other features.
This work was supported in part by the National Science Foundation through grants [SES-1357561](https://www.nsf.gov/awardsearch/showAward?AWD_ID=1357561), [SES-1459931](https://www.nsf.gov/awardsearch/showAward?AWD_ID=1459931), [SES-1947805](https://www.nsf.gov/awardsearch/showAward?AWD_ID=1947805) and [SES-2019432](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2019432).
## Authors
Sebastian Calonico (<scalonico@ucdavis.edu>)
Matias D. Cattaneo (<cattaneo@princeton.edu>)
Max H. Farrell (<maxhfarrell@ucsb.edu>)
Ricardo Masini (<rmasini@ucdavis.edu>)
Rocio Titiunik (<titiunik@princeton.edu>)
## Website
https://rdpackages.github.io/rdrobust
## Major Upgrades
This package was first released in Spring 2014, and had two major upgrades in Fall 2016 and in Winter 2020.
- _Fall 2016 new features include_: (i) major speed improvements; (ii) covariate-adjusted bandwidth selection, point estimation, and robust inference; (iii) cluster-robust bandwidth selection, point estimation, and robust inference; (iv) weighted global polynomial fits and pointwise confidence bands for RD plots; and (v) several new bandwidths selectors (e.g., different bandwidths for control and treatment groups, coverage error optimal bandwidths, and optimal bandwidths for fuzzy designs).
- _Winter 2020 new features include_: (i) discrete running variable checks and adjustments; (ii) bandwidth selection adjustments for too few mass points in and/or overshooting of the support of the running variable; (iii) RD Plots with additional covariates plotted at their mean (previously the package set additional covariates at zero); (iv) automatic removal of co-linear additional covariates; (v) turn on/off standardization of variables (which may lead to small numerical/rounding discrepancies with prior versions); and (vi) rdplot output using ggplot2 in R.
## Installation
To install/update use pip
```
pip install rdrobust
```
# Usage
```
from rdrobust import rdrobust, rdbwselect, rdplot
```
- Replication: [rdrobust illustration](https://github.com/rdpackages/rdrobust/blob/master/Python/rdrobust_illustration.py), [rdplot illustration](https://github.com/rdpackages/rdrobust/blob/master/Python/rdplot_illustration.py), [senate data](https://github.com/rdpackages/rdrobust/blob/master/R/rdrobust_senate.csv).
## Dependencies
- numpy
- pandas
- scipy.linalg
- sklearn.linear_model
- plotnine
## References
For overviews and introductions, see [rdpackages website](https://rdpackages.github.io).
### Software and Implementation
- Calonico, Cattaneo and Titiunik (2014): [Robust Data-Driven Inference in the Regression-Discontinuity Design](https://rdpackages.github.io/references/Calonico-Cattaneo-Titiunik_2014_Stata.pdf).<br>
_Stata Journal_ 14(4): 909-946.
- Calonico, Cattaneo and Titiunik (2015): [rdrobust: An R Package for Robust Nonparametric Inference in Regression-Discontinuity Designs](https://rdpackages.github.io/references/Calonico-Cattaneo-Titiunik_2015_R.pdf).<br>
_R Journal_ 7(1): 38-51.
- Calonico, Cattaneo, Farrell and Titiunik (2017): [rdrobust: Software for Regression Discontinuity Designs](https://rdpackages.github.io/references/Calonico-Cattaneo-Farrell-Titiunik_2017_Stata.pdf).<br>
_Stata Journal_ 17(2): 372-404.
### Technical and Methodological
- Calonico, Cattaneo and Titiunik (2014): [Robust Nonparametric Confidence Intervals for Regression-Discontinuity Designs](https://rdpackages.github.io/references/Calonico-Cattaneo-Titiunik_2014_ECMA.pdf).<br>
_Econometrica_ 82(6): 2295-2326.<br>
[Supplemental Appendix](https://rdpackages.github.io/references/Calonico-Cattaneo-Titiunik_2014_ECMA--Supplemental.pdf).
- Calonico, Cattaneo and Titiunik (2015): [Optimal Data-Driven Regression Discontinuity Plots](https://rdpackages.github.io/references/Calonico-Cattaneo-Titiunik_2015_JASA.pdf).<br>
_Journal of the American Statistical Association_ 110(512): 1753-1769.<br>
[Supplemental Appendix](https://rdpackages.github.io/references/Calonico-Cattaneo-Titiunik_2015_JASA--Supplement.pdf).
- Calonico, Cattaneo and Farrell (2018): [On the Effect of Bias Estimation on Coverage Accuracy in Nonparametric Inference](https://rdpackages.github.io/references/Calonico-Cattaneo-Farrell_2018_JASA.pdf).<br>
_Journal of the American Statistical Association_ 113(522): 767-779.<br>
[Supplemental Appendix](https://rdpackages.github.io/references/Calonico-Cattaneo-Farrell_2018_JASA--Supplement.pdf).
- Calonico, Cattaneo, Farrell and Titiunik (2019): [Regression Discontinuity Designs Using Covariates](https://rdpackages.github.io/references/Calonico-Cattaneo-Farrell-Titiunik_2019_RESTAT.pdf).<br>
_Review of Economics and Statistics_ 101(3): 442-451.<br>
[Supplemental Appendix](https://rdpackages.github.io/references/Calonico-Cattaneo-Farrell-Titiunik_2019_RESTAT--Supplement.pdf).
- Calonico, Cattaneo and Farrell (2020): [Optimal Bandwidth Choice for Robust Bias Corrected Inference in Regression Discontinuity Designs](https://rdpackages.github.io/references/Calonico-Cattaneo-Farrell_2020_ECTJ.pdf).<br>
_Econometrics Journal_ 23(2): 192-210.<br>
[Supplemental Appendix](https://rdpackages.github.io/references/Calonico-Cattaneo-Farrell_2020_ECTJ--Supplement.pdf).
- Calonico, Cattaneo and Farrell (2021): [Coverage Error Optimal Confidence Intervals for Local Polynomial Regression](https://rdpackages.github.io/references/Calonico-Cattaneo-Farrell_2022_Bernoulli.pdf).<br>
Working paper.<br>
[Supplemental Appendix](https://rdpackages.github.io/references/Calonico-Cattaneo-Farrell_2022_Bernoulli--Supplement.pdf).
<br><br>
Raw data
{
"_id": null,
"home_page": "https://github.com/rdpackages/rdrobust",
"name": "rdrobust",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "Ricardo Masini",
"author_email": "rmasini@ucdavis.edu",
"download_url": "https://files.pythonhosted.org/packages/40/8a/e8ae926da333a82d597c874a59f888838616651de6bc815d9d78c2f76c64/rdrobust-1.3.0.tar.gz",
"platform": null,
"description": "# RDROBUST\r\n\r\nThe `rdrobust` package implements the statistical inference and graphical procedures for Regression Discontinuity designs employing local polynomial and partitioning methods. It provides point estimators, confidence intervals estimators, bandwidth selectors, automatic RD plots, and many other features.\r\n\r\nThis work was supported in part by the National Science Foundation through grants [SES-1357561](https://www.nsf.gov/awardsearch/showAward?AWD_ID=1357561), [SES-1459931](https://www.nsf.gov/awardsearch/showAward?AWD_ID=1459931), [SES-1947805](https://www.nsf.gov/awardsearch/showAward?AWD_ID=1947805) and [SES-2019432](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2019432).\r\n\r\n## Authors\r\n \r\nSebastian Calonico (<scalonico@ucdavis.edu>)\r\n\r\nMatias D. Cattaneo (<cattaneo@princeton.edu>)\r\n\r\nMax H. Farrell (<maxhfarrell@ucsb.edu>)\r\n\r\nRicardo Masini (<rmasini@ucdavis.edu>)\r\n\r\nRocio Titiunik (<titiunik@princeton.edu>)\r\n\r\n## Website\r\n\r\nhttps://rdpackages.github.io/rdrobust\r\n\r\n## Major Upgrades\r\n\r\nThis package was first released in Spring 2014, and had two major upgrades in Fall 2016 and in Winter 2020.\r\n\r\n- _Fall 2016 new features include_: (i) major speed improvements; (ii) covariate-adjusted bandwidth selection, point estimation, and robust inference; (iii) cluster-robust bandwidth selection, point estimation, and robust inference; (iv) weighted global polynomial fits and pointwise confidence bands for RD plots; and (v) several new bandwidths selectors (e.g., different bandwidths for control and treatment groups, coverage error optimal bandwidths, and optimal bandwidths for fuzzy designs).\r\n\r\n- _Winter 2020 new features include_: (i) discrete running variable checks and adjustments; (ii) bandwidth selection adjustments for too few mass points in and/or overshooting of the support of the running variable; (iii) RD Plots with additional covariates plotted at their mean (previously the package set additional covariates at zero); (iv) automatic removal of co-linear additional covariates; (v) turn on/off standardization of variables (which may lead to small numerical/rounding discrepancies with prior versions); and (vi) rdplot output using ggplot2 in R.\r\n\r\n\r\n## Installation\r\n\r\nTo install/update use pip\r\n```\r\npip install rdrobust\r\n```\r\n\r\n# Usage\r\n```\r\nfrom rdrobust import rdrobust, rdbwselect, rdplot\r\n```\r\n\r\n- Replication: [rdrobust illustration](https://github.com/rdpackages/rdrobust/blob/master/Python/rdrobust_illustration.py), [rdplot illustration](https://github.com/rdpackages/rdrobust/blob/master/Python/rdplot_illustration.py), [senate data](https://github.com/rdpackages/rdrobust/blob/master/R/rdrobust_senate.csv).\r\n\r\n\r\n## Dependencies\r\n\r\n- numpy\r\n- pandas\r\n- scipy.linalg\r\n- sklearn.linear_model \r\n- plotnine\r\n\r\n## References\r\n\r\nFor overviews and introductions, see [rdpackages website](https://rdpackages.github.io).\r\n\r\n### Software and Implementation\r\n\r\n- Calonico, Cattaneo and Titiunik (2014): [Robust Data-Driven Inference in the Regression-Discontinuity Design](https://rdpackages.github.io/references/Calonico-Cattaneo-Titiunik_2014_Stata.pdf).<br>\r\n_Stata Journal_ 14(4): 909-946.\r\n\r\n- Calonico, Cattaneo and Titiunik (2015): [rdrobust: An R Package for Robust Nonparametric Inference in Regression-Discontinuity Designs](https://rdpackages.github.io/references/Calonico-Cattaneo-Titiunik_2015_R.pdf).<br>\r\n_R Journal_ 7(1): 38-51.\r\n\r\n- Calonico, Cattaneo, Farrell and Titiunik (2017): [rdrobust: Software for Regression Discontinuity Designs](https://rdpackages.github.io/references/Calonico-Cattaneo-Farrell-Titiunik_2017_Stata.pdf).<br>\r\n_Stata Journal_ 17(2): 372-404.\r\n\r\n### Technical and Methodological\r\n\r\n- Calonico, Cattaneo and Titiunik (2014): [Robust Nonparametric Confidence Intervals for Regression-Discontinuity Designs](https://rdpackages.github.io/references/Calonico-Cattaneo-Titiunik_2014_ECMA.pdf).<br>\r\n_Econometrica_ 82(6): 2295-2326.<br>\r\n[Supplemental Appendix](https://rdpackages.github.io/references/Calonico-Cattaneo-Titiunik_2014_ECMA--Supplemental.pdf).\r\n\r\n- Calonico, Cattaneo and Titiunik (2015): [Optimal Data-Driven Regression Discontinuity Plots](https://rdpackages.github.io/references/Calonico-Cattaneo-Titiunik_2015_JASA.pdf).<br>\r\n_Journal of the American Statistical Association_ 110(512): 1753-1769.<br>\r\n[Supplemental Appendix](https://rdpackages.github.io/references/Calonico-Cattaneo-Titiunik_2015_JASA--Supplement.pdf).\r\n\r\n- Calonico, Cattaneo and Farrell (2018): [On the Effect of Bias Estimation on Coverage Accuracy in Nonparametric Inference](https://rdpackages.github.io/references/Calonico-Cattaneo-Farrell_2018_JASA.pdf).<br>\r\n_Journal of the American Statistical Association_ 113(522): 767-779.<br>\r\n[Supplemental Appendix](https://rdpackages.github.io/references/Calonico-Cattaneo-Farrell_2018_JASA--Supplement.pdf).\r\n\r\n- Calonico, Cattaneo, Farrell and Titiunik (2019): [Regression Discontinuity Designs Using Covariates](https://rdpackages.github.io/references/Calonico-Cattaneo-Farrell-Titiunik_2019_RESTAT.pdf).<br>\r\n_Review of Economics and Statistics_ 101(3): 442-451.<br>\r\n[Supplemental Appendix](https://rdpackages.github.io/references/Calonico-Cattaneo-Farrell-Titiunik_2019_RESTAT--Supplement.pdf).\r\n\r\n- Calonico, Cattaneo and Farrell (2020): [Optimal Bandwidth Choice for Robust Bias Corrected Inference in Regression Discontinuity Designs](https://rdpackages.github.io/references/Calonico-Cattaneo-Farrell_2020_ECTJ.pdf).<br>\r\n_Econometrics Journal_ 23(2): 192-210.<br>\r\n[Supplemental Appendix](https://rdpackages.github.io/references/Calonico-Cattaneo-Farrell_2020_ECTJ--Supplement.pdf).\r\n\r\n- Calonico, Cattaneo and Farrell (2021): [Coverage Error Optimal Confidence Intervals for Local Polynomial Regression](https://rdpackages.github.io/references/Calonico-Cattaneo-Farrell_2022_Bernoulli.pdf).<br>\r\nWorking paper.<br>\r\n[Supplemental Appendix](https://rdpackages.github.io/references/Calonico-Cattaneo-Farrell_2022_Bernoulli--Supplement.pdf).\r\n\r\n<br><br>\r\n",
"bugtrack_url": null,
"license": null,
"summary": "Implements local polynomial Regression Discontinuity (RD) point estimators with robust bias-corrected confidence intervals and inference procedures.",
"version": "1.3.0",
"project_urls": {
"Bug Tracker": "https://github.com/rdpackages/rdrobust/issues",
"Homepage": "https://github.com/rdpackages/rdrobust"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "90d6c2faba19eea47e62c9cb07abd9a4ef735d43d1f85ba562eb549b7540af12",
"md5": "eb915e79033b6117a2a383fa6ab07656",
"sha256": "611ae2c07dc4e7969596800987953747c7dd9a68c0536c86cb1c53af90b9a2de"
},
"downloads": -1,
"filename": "rdrobust-1.3.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "eb915e79033b6117a2a383fa6ab07656",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 30285,
"upload_time": "2024-09-14T15:23:55",
"upload_time_iso_8601": "2024-09-14T15:23:55.245388Z",
"url": "https://files.pythonhosted.org/packages/90/d6/c2faba19eea47e62c9cb07abd9a4ef735d43d1f85ba562eb549b7540af12/rdrobust-1.3.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "408ae8ae926da333a82d597c874a59f888838616651de6bc815d9d78c2f76c64",
"md5": "035333449a77acb5afb1bdf7c68f6596",
"sha256": "994528ca6c7351b2ef8a1f9f57a524d8caa9d40f5f40f8a16c6533bd53109d53"
},
"downloads": -1,
"filename": "rdrobust-1.3.0.tar.gz",
"has_sig": false,
"md5_digest": "035333449a77acb5afb1bdf7c68f6596",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 29187,
"upload_time": "2024-09-14T15:23:56",
"upload_time_iso_8601": "2024-09-14T15:23:56.396196Z",
"url": "https://files.pythonhosted.org/packages/40/8a/e8ae926da333a82d597c874a59f888838616651de6bc815d9d78c2f76c64/rdrobust-1.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-14 15:23:56",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "rdpackages",
"github_project": "rdrobust",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "rdrobust"
}