RCT2
0.0.1Designing and Analyzing Two-Stage Randomized Experiments
Overview
Provides various statistical methods for designing and analyzing two-stage randomized controlled trials using the methods developed by Imai, Jiang, and Malani (2021) doi:10.1080/01621459.2020.1775612 and (2022+) doi:10.48550/arXiv.2011.07677. The package enables the estimation of direct and spillover effects, conduct hypotheses tests, and conduct sample size calculation for two-stage randomized controlled trials.
Install
Health
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Downloads
Repository
Dependencies
Nothing depends on this yet.
Code & Tests
- Cyclomatic complexity
- 1.0 median / 14 max
- Documented parameters
- 100%
Test coverage
Line coverage
–
Expression
–
Tests / Examples
–
Functions
20 7 exported
Complexity
3.3 avg / 14 max
Call network
20 nodes / 4 edges
Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.
Call graph
Open call graph →Lowest coverage
Per-function coverage is not measured for this package yet.
People & History
1 release. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 0.0.1Latest2026-03-10 · current release
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2022-10-18
- Total releases
- 1 / 4 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.1.0
- Bundled data
- 173 KB / 3 files
- Download size
- 198 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet