Package: sreg
Type: Package
Title: Stratified Randomized Experiments
Version: 2.1.0
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
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
Config/roxygen2/version: 8.0.0
RoxygenNote: 7.3.2
NeedsCompilation: no
Packaged: 2026-08-22 10:25:28 UTC; runner
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: 2026-08-22 11:20:02 UTC
Built: R 4.6.0; ; 2026-08-22 12:53:52 UTC; unix
