{"id":13666058,"url":"https://github.com/rdpackages/rdrobust","last_synced_at":"2025-12-29T05:38:08.613Z","repository":{"id":41959425,"uuid":"285824538","full_name":"rdpackages/rdrobust","owner":"rdpackages","description":"Statistical inference and graphical procedures for RD designs using local polynomial and partitioning regression methods.","archived":false,"fork":false,"pushed_at":"2024-10-24T15:02:03.000Z","size":11265,"stargazers_count":78,"open_issues_count":0,"forks_count":39,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-08T01:49:56.486Z","etag":null,"topics":["causal-inference","program-evaluation","regression-discontinuity-designs","treatment-effects"],"latest_commit_sha":null,"homepage":"","language":"Stata","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rdpackages.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-07T12:32:00.000Z","updated_at":"2025-03-19T00:59:21.000Z","dependencies_parsed_at":"2023-01-23T02:15:16.221Z","dependency_job_id":"3674230c-467f-48d6-b6b4-83e5d20b452a","html_url":"https://github.com/rdpackages/rdrobust","commit_stats":{"total_commits":91,"total_committers":1,"mean_commits":91.0,"dds":0.0,"last_synced_commit":"0cf1ecfed927d1586b89ed22dd61e132d850bcf9"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdpackages%2Frdrobust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdpackages%2Frdrobust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdpackages%2Frdrobust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdpackages%2Frdrobust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rdpackages","download_url":"https://codeload.github.com/rdpackages/rdrobust/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250986237,"owners_count":21518468,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["causal-inference","program-evaluation","regression-discontinuity-designs","treatment-effects"],"created_at":"2024-08-02T06:00:56.962Z","updated_at":"2025-12-29T05:38:03.594Z","avatar_url":"https://github.com/rdpackages.png","language":"Stata","funding_links":[],"categories":["Stata"],"sub_categories":[],"readme":"# RDROBUST\n\nThe `rdrobust` package provides Python, R and Stata implementations of 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.\n\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).\n\n## Website\n\nhttps://rdpackages.github.io/rdrobust\n\n## Queries and Requests\n\nPlease email: [rdpackages@googlegroups.com](mailto:rdpackages@googlegroups.com)\n\n## Major Upgrades\n\nThis package was first released in Spring 2014, and had two major upgrades in Fall 2016 and in Winter 2020.\n\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).\n\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.\n\n## Python Implementation\n\nTo install/update in Python type:\n```\npip install rdrobust\n```\n\n- Help: [PYPI repository](https://pypi.org/project/rdrobust/).\n\n- Replication: [py-script](Python/rdrobust_illustration.py), [rdplot illustration](Python/rdplot_illustration.py), [senate data](Python/rdrobust_senate.csv).\n\n## R Implementation\n\nTo install/update in R type:\n```\ninstall.packages('rdrobust')\n```\n\n- Help: [R Manual](https://cran.r-project.org/web/packages/rdrobust/rdrobust.pdf), [CRAN repository](https://cran.r-project.org/package=rdrobust).\n\n- Replication: [R-script](R/rdrobust_illustration.r), [rdplot illustration](R/rdplot_illustration.R), [senate data](R/rdrobust_senate.csv).\n\n## Stata Implementation\n\nTo install/update in Stata type:\n```\nnet install rdrobust, from(https://raw.githubusercontent.com/rdpackages/rdrobust/master/stata) replace\n```\n\n- Help: [rdrobust](stata/rdrobust.pdf), [rdbwselect](stata/rdbwselect.pdf), [rdplot](stata/rdplot.pdf).\n\n- Replication: [do-file](stata/rdrobust_illustration.do), [rdplot illustration](stata/rdplot_illustration.do), [senate data](stata/rdrobust_senate.dta).\n\n\n## References\n\nFor overviews and introductions, see [rdpackages website](https://rdpackages.github.io).\n\n### Software and Implementation\n\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).\u003cbr\u003e\n_Stata Journal_ 14(4): 909-946.\n\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).\u003cbr\u003e\n_R Journal_ 7(1): 38-51.\n\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).\u003cbr\u003e\n_Stata Journal_ 17(2): 372-404.\n\n### Technical and Methodological\n\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).\u003cbr\u003e\n_Econometrica_ 82(6): 2295-2326.\u003cbr\u003e\n[Supplemental Appendix](https://rdpackages.github.io/references/Calonico-Cattaneo-Titiunik_2014_ECMA--Supplemental.pdf).\n\n- Calonico, Cattaneo and Titiunik (2015): [Optimal Data-Driven Regression Discontinuity Plots](https://rdpackages.github.io/references/Calonico-Cattaneo-Titiunik_2015_JASA.pdf).\u003cbr\u003e\n_Journal of the American Statistical Association_ 110(512): 1753-1769.\u003cbr\u003e\n[Supplemental Appendix](https://rdpackages.github.io/references/Calonico-Cattaneo-Titiunik_2015_JASA--Supplement.pdf).\n\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).\u003cbr\u003e\n_Journal of the American Statistical Association_ 113(522): 767-779.\u003cbr\u003e\n[Supplemental Appendix](https://rdpackages.github.io/references/Calonico-Cattaneo-Farrell_2018_JASA--Supplement.pdf).\n\n- Calonico, Cattaneo, Farrell and Titiunik (2019): [Regression Discontinuity Designs Using Covariates](https://rdpackages.github.io/references/Calonico-Cattaneo-Farrell-Titiunik_2019_RESTAT.pdf).\u003cbr\u003e\n_Review of Economics and Statistics_ 101(3): 442-451.\u003cbr\u003e\n[Supplemental Appendix](https://rdpackages.github.io/references/Calonico-Cattaneo-Farrell-Titiunik_2019_RESTAT--Supplement.pdf).\n\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).\u003cbr\u003e\n_Econometrics Journal_ 23(2): 192-210.\u003cbr\u003e\n[Supplemental Appendix](https://rdpackages.github.io/references/Calonico-Cattaneo-Farrell_2020_ECTJ--Supplement.pdf).\n\n- Calonico, Cattaneo and Farrell (2022): [Coverage Error Optimal Confidence Intervals for Local Polynomial Regression](https://rdpackages.github.io/references/Calonico-Cattaneo-Farrell_2022_Bernoulli.pdf).\u003cbr\u003e\n_Bernoulli_ 28(4): 2998-3022.\u003cbr\u003e\n[Supplemental Appendix](https://rdpackages.github.io/references/Calonico-Cattaneo-Farrell_2022_Bernoulli--Supplement.pdf).\n\n\u003cbr\u003e\u003cbr\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frdpackages%2Frdrobust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frdpackages%2Frdrobust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frdpackages%2Frdrobust/lists"}