Package: sreg
Type: Package
Title: Stratified Randomized Experiments
Version: 2.0.2
Authors@R: c(
    person("Juri", "Trifonov", email = "jutrifonov@u.northwestern.edu", role = c("aut", "cre", "cph")),
    person("Yuehao", "Bai", email = "yuehao.bai@usc.edu", role = "aut"),
    person("Azeem", "Shaikh", email = "amshaikh@uchicago.edu", role = "aut"),
    person("Max", "Tabord-Meehan", email = "m.tabordmeehan@utoronto.ca", role = "aut"))
Description: 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>.
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.3.2
Imports: dplyr, tidyr, purrr, extraDistr, rlang, cli, ggplot2, viridis
Suggests: haven, knitr, rmarkdown, testthat
Depends: R (>= 2.10)
Config/testthat/edition: 3
VignetteBuilder: knitr
URL: https://github.com/jutrifonov/sreg
BugReports: https://github.com/jutrifonov/sreg/issues
NeedsCompilation: no
Packaged: 2025-08-21 04:04:02 UTC; jutrifonov
Author: Juri Trifonov [aut, cre, cph],
  Yuehao Bai [aut],
  Azeem Shaikh [aut],
  Max Tabord-Meehan [aut]
Maintainer: Juri Trifonov <jutrifonov@u.northwestern.edu>
Repository: CRAN
Date/Publication: 2025-08-25 13:50:02 UTC
Built: R 4.5.0; ; 2025-08-26 00:09:21 UTC; unix
