Assign Treatments, Power Calculations, Balances, Impact Evaluation of Experiments
Overview
Assists in the whole process of designing and evaluating Randomized Control Trials. Robust treatment assignment by strata/blocks, that handles misfits; Power calculations of the minimum detectable treatment effect or minimum populations; Balance tables of T-test of covariates; Balance Regression: (treatment ~ all x variables) with F-test of null model; Impact_evaluation: Impact evaluation regressions. This function gives you the option to include control_vars, fixed effect variables, cluster variables (for robust SE), multiple endogenous variables and multiple heterogeneous variables (to test treatment effect heterogeneity) summary_statistics: Function that creates a summary statistics table with statistics rank observations in n groups: Creates a factor variable with n groups. Each group has a min and max label attach to each category. Athey, Susan, and Guido W. Imbens (2017) arXiv:1607.00698.
This version replaces the regression engine for impact_eval from lfe (deprecated) to lm_robust. It has extremely similar functionality. The main difference is that now we only support 1 cluster variables and no more than 2 fixed effect variables.
From NEWS.md in the release
Install
Health
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Isidoro Garcia-Urquieta <isidoro.gu@gmail.com>’ The Description field contains <arXiv:1607.00698>. Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
- NOTE11 OK, 2 NOTE2026-06-09
- ERROR11 OK, 1 NOTE, 1 ERROR2026-06-08
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 10includes a package overview page
- Examples that run
- 100%9 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 99%
- Return-value docs
- 100%
- Help pages citing references
- 10%
- my-vignette HTML
Downloads
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.2Latest
- RR 4.3.0 released · 2023-04-21
- 1.1.22022-05-13 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 1.1.12021-08-02 · diff ↗
- RR 4.1.0 released · 2021-05-18
- unarchivedReturned to CRAN2021-02-01
- 1.1
- archivedRemoved from CRAN2020-12-04requires archived package 'lfe'
- 1.0.32020-07-13 · diff ↗
- 1.0.22020-05-13 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 1.0.12020-04-04 · diff ↗
Show 2 earlier eventsHide 2 earlier events
- 1.0.02020-04-03
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2020-04-03
- Total releases
- 8 / 6 yrs
- License
- GPL-2 OSI
- Download size
- 28 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("RCT")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.