Skip to content

RCT

1.2

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

0packages depend
5.1Kdownloads / year
85.3%test coverage
11/13checks pass

Overview

About
Maintained by Isidoro Garcia-UrquietaFirst published 2020-04-038 releasesCRAN page ↗

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.

Install

Health

CRAN checks
2NOTE11OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 2.0 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.41
85.3%
Coverage · measured lines
100%
Documentation · exports
15
Dependencies · direct
Check history
  • NOTE2026-06-09
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    11 OK · 1 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 548 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
99%
Return-value docs
100%
References docs
10%

Downloads

5.1K
CRAN downloads in the past year
Rank #11,600 · ~14/day · ~427/mo
Daily download trend is not available in this view yet.
19330 days
86290 days
5.1K1 year
Compare downloads with other packages →
Also on102 r2u14 autocran

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)
Depends (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

8 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 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
    2024-02-21 · current release · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.1.2
    2022-05-13 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.1.1
    2021-08-02 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 1.1
    2021-02-01 · diff ↗
  • unarchivedReturned to CRAN
    2021-02-01
  • archivedRemoved from CRAN
    2020-12-04
    requires archived package 'lfe'
  • 1.0.3
    2020-07-13 · diff ↗
  • 1.0.2
    2020-05-13 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 1.0.1
    2020-04-04 · diff ↗
Show 2 earlier events
  • 1.0.0
    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
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("RCT")
Garcia-Urquieta, I. (2024). RCT: Assign Treatments, Power Calculations, Balances, Impact Evaluation of Experiments (Version 1.2) [Computer software]. https://doi.org/10.32614/CRAN.package.RCT

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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-08-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-24, 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