Package: RCT2 0.0.1

RCT2: Designing and Analyzing Two-Stage Randomized Experiments

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.

Authors:Karissa Huang [aut], Zhichao Jiang [aut], Kosuke Imai [aut, cre]

RCT2_0.0.1.tar.gz
RCT2_0.0.1.zip(r-4.5)RCT2_0.0.1.zip(r-4.4)RCT2_0.0.1.zip(r-4.3)
RCT2_0.0.1.tgz(r-4.4-any)RCT2_0.0.1.tgz(r-4.3-any)
RCT2_0.0.1.tar.gz(r-4.5-noble)RCT2_0.0.1.tar.gz(r-4.4-noble)
RCT2_0.0.1.tgz(r-4.4-emscripten)RCT2_0.0.1.tgz(r-4.3-emscripten)
RCT2.pdf |RCT2.html
RCT2/json (API)

# Install 'RCT2' in R:
install.packages('RCT2', repos = c('https://kosukeimai.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/kosukeimai/rct2/issues

Datasets:
  • india - Replication Data for: Causal Inference with Interference and Noncompliance in Two-Stage Randomized Experiments.
  • jd - Replication Data for: Statistical Inference and Power Analysis for Direct and Spillover Effects in Two-Stage Randomized Experiments

On CRAN:

4.60 score 4 stars 4 scripts 139 downloads 7 exports 65 dependencies

Last updated 2 years agofrom:6b5fcc7253. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 09 2024
R-4.5-winOKOct 09 2024
R-4.5-linuxOKOct 09 2024
R-4.4-winOKOct 09 2024
R-4.4-macOKOct 09 2024
R-4.3-winOKOct 09 2024
R-4.3-macOKOct 09 2024

Exports:CADEparamregCADErandCADEregCalAPOcalparaCalsamplesizeTest2SRE

Dependencies:abindAERbackportsbootbroomcarcarDataclicolorspacecowplotcpp11DerivdoBydplyrfansifarverFormulagenericsggplot2gluegtableisobandlabelinglatticelifecyclelme4lmtestmagrittrMASSMatrixMatrixModelsmgcvmicrobenchmarkminqamodelrmunsellnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigpurrrquadprogquantregR6RColorBrewerRcppRcppEigenrlangsandwichscalesSparseMstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithrzoo

Causal Inference with Inteference

Rendered fromspillover_vignette.Rmdusingknitr::rmarkdownon Oct 09 2024.

Last update: 2022-10-15
Started: 2020-08-31

Statistical Inference and Power Analysis for Direct and Spillover Effects

Rendered frominterference_vignette.Rmdusingknitr::rmarkdownon Oct 09 2024.

Last update: 2022-10-15
Started: 2020-11-30