sreg: Stratified Randomized Experiments
Estimate average treatment effects (ATEs) in stratified randomized experiments. ‘sreg' supports a wide range of stratification designs, including matched pairs, n-tuple designs, and larger strata with many units — possibly of unequal size across strata. ’sreg' is designed to accommodate scenarios with multiple treatments and cluster-level treatment assignments, and accommodates optimal linear covariate adjustment based on baseline observable characteristics. 'sreg' computes estimators and standard errors based on Bugni, Canay, Shaikh (2018) <doi:10.1080/01621459.2017.1375934>; Bugni, Canay, Shaikh, Tabord-Meehan (2024+) <doi:10.48550/arXiv.2204.08356>; Jiang, Linton, Tang, Zhang (2023+) <doi:10.48550/arXiv.2201.13004>; Bai, Jiang, Romano, Shaikh, and Zhang (2024) <doi:10.1016/j.jeconom.2024.105740>; Bai (2022) <doi:10.1257/aer.20201856>; Bai, Romano, and Shaikh (2022) <doi:10.1080/01621459.2021.1883437>; Liu (2024+) <doi:10.48550/arXiv.2301.09016>; and Cytrynbaum (2024) <doi:10.3982/QE2475>.
| Version: | 2.0.2 | 
| Depends: | R (≥ 2.10) | 
| Imports: | dplyr, tidyr, purrr, extraDistr, rlang, cli, ggplot2, viridis | 
| Suggests: | haven, knitr, rmarkdown, testthat | 
| Published: | 2025-08-25 | 
| DOI: | 10.32614/CRAN.package.sreg | 
| Author: | Juri Trifonov [aut, cre, cph],
  Yuehao Bai [aut],
  Azeem Shaikh [aut],
  Max Tabord-Meehan [aut] | 
| Maintainer: | Juri Trifonov  <jutrifonov at u.northwestern.edu> | 
| BugReports: | https://github.com/jutrifonov/sreg/issues | 
| License: | MIT + file LICENSE | 
| URL: | https://github.com/jutrifonov/sreg | 
| NeedsCompilation: | no | 
| Citation: | sreg citation info | 
| Materials: | README, NEWS | 
| CRAN checks: | sreg results | 
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=sreg
to link to this page.