Skip to content

experiment

1.2.1Package record

R Package for Designing and Analyzing Randomized Experiments

0packages depend
4.6Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Provides various statistical methods for designing and analyzing randomized experiments. One functionality of the package is the implementation of randomized-block and matched-pair designs based on possibly multivariate pre-treatment covariates. The package also provides the tools to analyze various randomized experiments including cluster randomized experiments, two-stage randomized experiments, randomized experiments with noncompliance, and randomized experiments with missing data.

Install

Health

CRAN checks
13OK
Slowest check: 2.6 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.2.1
README· In the repository, left out of the releaseVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
15
Examples that run
100%4 run in a plain check
Exported functions with examples
23%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
87%

Downloads

4.6K
CRAN downloads in the past year
Rank #5,983 · ~12/day · ~380/mo
Daily download trend is not available in this view yet.
48530 days
1.4K90 days
4.6K1 year
Compare downloads with other packages →
Also on379 r2u8 autocran135 c2d4u

Repository

14Stars
8Forks
0Open issues
1Open PRs
3Releases
391Commits
7Commit identities
391 commits · Last activity 2022-04-08
Responsiveness
How these are sampled
PRs merged (all time)
91%
Median days to close, 50 most recently updated closed issues
not measured
Median days to close, 50 most recently updated closed PRs
1

Stars over time

2025-02-19 · 142026-07-07 · 14
PracticesBeta

2 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/kosukeimai/experiment on 2026-10-18.

Continuous integration (1)
Travis CI (config file)
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
0 external dependencies (excludes base and recommended)

Installing experiment adds no packages beyond those that come with R.

Depends (3)
R >= 2.4.0bootMASS
Imports (0)
none
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (2)
Author, Maintainer since 1.0-0 (2007)
Author · added in 1.1-2
Listed in earlier versions (1)
Michael Li
no longer listed · 1.2.0
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
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 1.2.1Latest
    record
    2022-04-12 · current release · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 1.2.0
    record
    2019-08-05 · diff ↗ ·
    added 3 exports
    AUPEC, PAPD, PAPE
  • R
    R 3.6.0 released · 2019-04-26
  • 1.1-4
    record
    2018-04-30 · diff ↗ ·
    added 2 exports
    CADErand, CADEreg
  • R
    R 3.5.0 released · 2018-04-23
  • 1.1-3
    record
    2018-04-19 · diff ↗
  • 1.1-2
    record
    2018-01-18 · diff ↗ ·
    removed 1 export
    NoncompLI
    added 3 exports
    ATOPnoassumption, ATOPobs, ATOPsens
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
Show 17 earlier eventsHide 17 earlier events
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
  • R
    R 3.0.0 released · 2013-04-03
  • 1.1-1
    record
    2013-03-29 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • R
    R 2.14.0 released · 2011-10-31
  • R
    R 2.13.0 released · 2011-04-13
  • R
    R 2.12.0 released · 2010-10-15
  • R
    R 2.11.0 released · 2010-04-22
  • R
    R 2.10.0 released · 2009-10-26
  • R
    R 2.9.0 released · 2009-04-17
  • R
    R 2.8.0 released · 2008-10-20
  • R
    R 2.7.0 released · 2008-04-22
  • R
    R 2.6.0 released · 2007-10-03
  • 1.1-0
    record
    2007-07-24 · diff ↗ ·
    added 2 exports
    ATEcluster, CACEcluster
  • 1.0-0
    record
    2007-06-22
  • R
    R 2.5.0 released · 2007-04-24

Package metadata

First published
2007-06-22
Total releases
8 / 19 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 2.4.0
Bundled data
22 KB / 1 file
Download size
112 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("experiment")
Imai, K., & Jiang, Z. (2022). experiment: R Package for Designing and Analyzing Randomized Experiments (Version 1.2.1) [Computer software]. https://doi.org/10.32614/CRAN.package.experiment

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 experiment version 1.2.1 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-21, 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