This repository hosts the public website for RD Packages:
The site is a lean entry point for regression discontinuity software, references, replication links, contributors, and funding acknowledgments. Package documentation lives in the individual package repositories.
- rdrobust: estimation, inference, and graphical procedures using local polynomial and partitioning regression methods.
- rdhte: estimation and inference for heterogeneous treatment effects.
- rdlocrand: finite-sample and large-sample estimation and inference using local randomization and related methods.
- rddensity: manipulation testing using local polynomial density methods.
- rdpower: power, sample size, and minimum detectable effects calculations using robust bias-corrected local polynomial inference.
- rd2d: estimation and inference for boundary discontinuity designs.
- rdmulti: estimation, inference, RD plots, and extrapolation with multiple cutoffs and multiple scores.
The legacy package URLs under this site, such as /rdrobust/, are kept as redirect stubs to the corresponding GitHub repositories. Mirror-style aliases under /rdpackages/<package>/ are also generated as redirects.
_config.yml: Jekyll and GitHub Pages settings..editorconfigand.gitattributes: editor and line-ending conventions.Gemfile: local GitHub Pages/Jekyll dependencies._includes/: shared HTML fragments for metadata._layouts/: page templates.index.md: homepage content.<package>/index.md: package redirect stubs.rdpackages/<package>/index.md: mirror-style package redirect aliases.replication/index.md: replication resources.references/: PDF references linked from the website.public/: CSS and static assets.
Most content changes happen in Markdown files. Each rendered page needs YAML front matter at the top, for example:
---
layout: page
title: Page title
permalink: /page-slug/
---Use relative internal links when possible, such as /rdrobust/ or /references/file.pdf, so the site remains portable across local previews and GitHub Pages.
This is a Jekyll site. On a machine with Ruby and Bundler installed:
bundle install
bundle exec jekyll serveThen open:
http://127.0.0.1:4000
This checkout includes a Gemfile and Gemfile.lock for GitHub Pages/Jekyll dependencies.
Note: local Windows builds were tested with Ruby 3.3.10. Ruby 3.4 exposed compatibility issues in the pinned github-pages/Jekyll 3.10 stack, so use Ruby 3.3.x for local GitHub Pages previews until the dependency stack is upgraded.
The repository is intended for GitHub Pages at rdpackages.github.io. The current source branch is main.
Please email rdpackages@googlegroups.com.