R Packages:

redist: Markov Chain Monte Carlo Methods for Redistricting Simulation (with Alexander Tarr, Michael Higgins, and Kosuke Imai)

redist is a publicly available R package that enables researchers to statistically simulate congressional redistricting plans using Markov Chain Monte Carlo techniques. This includes the implementation of substantive constraints in the redistricting process such as geographic compactness and population parity requirements, as well as efficient simulation methods such as simulated tempering algorithms. Tools for analysis such as inverse probability reweighting and plotting functionality are included. The package implements methods found in Fifield, Higgins, Imai, and Tarr (2018), "A New Automated Redistricting Simulator Using Markov Chain Monte Carlo."

Type install.packages("redist") to install in R. Please also see the redist GitHub page for the most stable development release.

fastLink: Fast Probabilistic Record Linkage (with Ted Enamorado and Kosuke Imai)

fastLink is a publicly available R package that enables researchers to merge two data sets using a fast implementation of the Fellegi-Sunter probabilistic record linkage model that allows for missing data and the inclusion of auxiliary information. This includes functionalities to conduct a merge of two data sets under the Fellegi-Sunter model using the Expectation-Maximization algorithm. In addition, tools for preparing, adjusting, and summarizing data merges are included. The package implements methods developed in Enamorado, Fifield, and Imai (2017), "Using a Probabilistic Model to Assist Merging of Large-scale Administrative Records."

Type install.packages("fastLink") to install in R. Please also see the fastLink Github page for the most stable development release.

hettx: Detecting Heterogeneous Treatment Effects (with Masha Bertling, Peng Ding, Avi Feller, and Luke Miratrix)

hettx is a publicly available R package that implements methods developed by Ding, Feller, and Miratrix (2016) ''Randomization Inference for Treatment Effect Variation'', and Ding, Feller, and Miratrix (2019) ''Decomposing Treatment Effect Variation'', for testing whether there is unexplained variation in treatment effects across observations. The package includes wrapper functions implementing the proposed methods, as well as helper functions for analyzing and visualizing the results of the test.

Please see the hettx Github Page for the most stable development release.

Shiny Apps:

randomizeAuthor (with Yang-Yang Zhou and Evan Lieberman)

randomizeAuthor is an online Shiny App utility for transparently randomizing author order for academic articles while creating a common, replicable record of the randomization. To ensure non-manipulable replicability, the app queries the random.org API for a random seed that guarantees replicability of the randomization, and it automatically sends an email record of the input names and their order along with the random seed value and its source.