Learn R Programming

⚠️There's a newer version (0.6.6) of this package.Take me there.

blockTools (version 0.6.4)

Block, Assign, and Diagnose Potential Interference in Randomized Experiments

Description

Blocks units into experimental blocks, with one unit per treatment condition, by creating a measure of multivariate distance between all possible pairs of units. Maximum, minimum, or an allowable range of differences between units on one variable can be set. Randomly assign units to treatment conditions. Diagnose potential interference between units assigned to different treatment conditions. Write outputs to .tex and .csv files.

Copy Link

Version

Install

install.packages('blockTools')

Monthly Downloads

284

Version

0.6.4

License

GPL (>= 2) | file LICENSE

Maintainer

Ryan T Moore

Last Published

February 6th, 2023

Functions in blockTools (0.6.4)

blockTools-package

Block, Randomly Assign, and Diagnose Potential Interference in Randomized Experiments
diagnose

Diagnose whether units assigned to different treatment conditions may be subject to interference or pairwise imbalance
invertRIconfInt

Calculate treatment effect confidence intervals by inverting the randomization test
block

Block units into homogeneous experimental blocks
block2seqblock

Prepare prior nonsequential assignments for subsequent sequential assignments
assg2xBalance

Calculate balance statistics from an assignment object
createBlockIDs

Create vector of integers containing block identifiers
extract_conditions

Create vector of integers containing treatment condition identifiers
outCSV

Export blocked or assigned data to .csv format files
x100

Simulated data for demonstrating blockTools functionality
assignment

Randomly assign blocked units to treatment conditions
outTeX

Export blocked or assigned data to .tex format files
seqblock

Sequential assignment of unit(s) into experimental conditions using covariates