Skip to content

Assign Treatments, Power Calculations, Balances, Impact Evaluation of Experiments

0packages depend
4.8Kdownloads / year
85.3%test coverage
11/13flavors OK

Overview

About

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.

Changes in 1.2

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

CRAN checks
2NOTE11OK
Check messages
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>.

CRAN check page ↗

Slowest check: 1.8 min · r-oldrel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTE2026-06-09
  • ERROR11 OK, 1 NOTE, 1 ERROR2026-06-08
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.2
READMEYes · 548 wordsVignettesYes · 1 · dynamicNEWSYes · 67% structured · mentions 1.2Citation fileYes · software entry onlyWebsitenot declared in DESCRIPTION
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%
Vignettes (1)

Downloads

4.8K
CRAN downloads in the past year
Rank #11,878 · ~13/day · ~398/mo
Daily download trend is not available in this view yet.
31630 days
93290 days
4.8K1 year
Compare downloads with other packages →
Also on68 r2u1 autocran

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)

Installing RCT adds 37 packages (19 with compiled code, 33 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, Rcpp 1.8 MB.

Depends (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 1.0.0 (2020)
Releases (8)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.2Latest
    record
    2024-02-21 · current release · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.1.2
    record
    2022-05-13 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.1.1
    record
    2021-08-02 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • unarchivedReturned to CRAN
    2021-02-01
  • 1.1
    record
    2021-02-01 · diff ↗ ·
    added 1 export
    N_min
  • archivedRemoved from CRAN
    2020-12-04
    requires archived package 'lfe'
  • 1.0.3
    record
    2020-07-13 · diff ↗
  • 1.0.2
    record
    2020-05-13 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 1.0.1
    record
    2020-04-04 · diff ↗
Show 2 earlier eventsHide 2 earlier events
  • 1.0.0
    record
    2020-04-03
  • R
    R 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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for RCT version 1.2 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy