CRAN/E | GreedyExperimentalDesign

GreedyExperimentalDesign

Greedy Experimental Design Construction

Installation

About

Computes experimental designs for a two-arm experiment with covariates via a number of methods: (0) complete randomization and randomization with forced-balance, (1) Greedily optimizing a balance objective function via pairwise switching. This optimization provides lower variance for the treatment effect estimator (and higher power) while preserving a design that is close to complete randomization. We return all iterations of the designs for use in a permutation test, (2) The second is via numerical optimization (via 'gurobi' which must be installed, see ) a la Bertsimas and Kallus, (3) rerandomization, (4) Karp's method for one covariate, (5) exhaustive enumeration to find the optimal solution (only for small sample sizes), (6) Binary pair matching using the 'nbpMatching' library, (7) Binary pair matching plus design number (1) to further optimize balance, (8) Binary pair matching plus design number (3) to further optimize balance, (9) Hadamard designs, (10) Simultaneous Multiple Kernels. In (1-9) we allow for three objective functions: Mahalanobis distance, Sum of absolute differences standardized and Kernel distances via the 'kernlab' library. This package is the result of a stream of research that can be found in Krieger, A, Azriel, D and Kapelner, A "Nearly Random Designs with Greatly Improved Balance" (2016) , Krieger, A, Azriel, D and Kapelner, A "Better Experimental Design by Hybridizing Binary Matching with Imbalance Optimization" (2021) .

github.com/kapelner/GreedyExperimentalDesign
System requirements Java (>= 7.0)

Key Metrics

Version 1.5.6.1
R ≥ 4.1.0
Published 2023-07-12 291 days ago
Needs compilation? yes
License GPL-3
CRAN checks GreedyExperimentalDesign results

Downloads

Yesterday 16 0%
Last 7 days 66 -8%
Last 30 days 250 -13%
Last 90 days 807 -16%
Last 365 days 3.454 +2%

Maintainer

Maintainer

Adam Kapelner

kapelner@qc.cuny.edu

Authors

Adam Kapelner

aut / cre

David Azriel

aut

Abba Krieger

aut

Material

ChangeLog
Reference manual
Package source

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

GreedyExperimentalDesign archive

Depends

R ≥ 4.1.0
rJava ≥ 0.9-6

Imports

Rcpp
checkmate
nbpMatching
survey
rlist
stringr
stringi
kernlab
graphics
grDevices
stats

LinkingTo

Rcpp

Reverse Depends

OptimalRerandExpDesigns