MyNixOS website logo
Description

Regression Discontinuity Design Application.

Estimation of both single- and multiple-assignment Regression Discontinuity Designs (RDDs). Provides both parametric (global) and non-parametric (local) estimation choices for both sharp and fuzzy designs, along with power analysis and assumption checks. Introductions to the underlying logic and analysis of RDDs are in Thistlethwaite, D. L., Campbell, D. T. (1960) <doi:10.1037/h0044319> and Lee, D. S., Lemieux, T. (2010) <doi:10.1257/jel.48.2.281>.

rddapp

Downloads Cran Build R-CMD-check

Overview

rddapp provides a set of functions for the analysis of the regression-discontinuity design (RDD).

The three main parts are:

  • Estimation of effects of interest
  • Power analysis
  • Assumption checks

Estimation

The package estimates treatment effects from RDDs for the following designs and approaches:

  • Parametric RDD with single assignment variables (both sharp and fuzzy designs)
  • Non-parametric RDD with single assignment variables (both sharp and fuzzy designs)
  • Parametric RDDs with two assignment variables (both sharp and fuzzy designs), using univariate, centering, and frontier approaches

Power analysis

Given input from the user about desired Type I error rate and assumptions about the population, the package allows estimation of power for the following designs:

  • Single assignment RDDs (both sharp and fuzzy) using both parametric and non-parametric estimation
  • Multiple-assignment RDDs (both sharp and fuzzy) using various parametric models

Assumption checks

The package allows the user to perform a variety of assumption and sensitivity checks, including:

  • McCrary's sorting test on the assignment variable
  • Sensitivity to the chosen bandwidth in non-parametric estimation
  • Placebo tests to examine treatment effects at values away from the cut-off
  • Discontinuities in the treatment probability at cut-off
  • Discontinuities for baseline covariates

Installation

# Install the released version from CRAN
install.packages("rddapp")

# Or the development version from GitHub:
# install.packages("devtools")
devtools::install_github("felixthoemmes/rddapp")
Metadata

Version

1.3.2

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows