Software & Data
R Packages
rcttext: Tools for planning and analyzing randomized experiments with text-based outcomes. Includes functions for model-assisted impact estimation, power analysis, and sample size calculations for text-based randomized controlled trials.
[GitHub]
stratsampling: Stratified sampling methods for model-assisted estimation with surrogate outcomes. Implements the methods described in Mozer, Pashley, and Miratrix (2026).
[GitHub]
textmatch: Tools for matching text documents and performing quality and balance assessments in studies where covariates and/or outcomes are defined by text. Implements the methods described in Mozer, Miratrix, Kaufman, and Anastasopoulos (2020).
[GitHub]
Replication Materials
Combining human and automated scoring methods in experimental assessments of writing: A case study tutorial (Mozer, Miratrix, Relyea, and Kim, 2024. Journal of Educational and Behavioral Statistics)
[Code]
[Data]
Bayesian analysis of longitudinal studies with treatment by indication (Mozer and Glickman, 2023. Health Services and Outcomes Research Methodology)
[Code]
Matching with text data: An experimental evaluation of methods for matching documents and of measuring match quality (Mozer, Miratrix, Kaufman, and Anastasopoulos, 2020. Political Analysis)
[Data/Replication]
