Other packages > Find by keyword >

GreedyExperimentalDesign  

Greedy Experimental Design Construction
View on CRAN: Click here


Download and install GreedyExperimentalDesign package within the R console
Install from CRAN:
install.packages("GreedyExperimentalDesign")

Install from Github:
library("remotes")
install_github("cran/GreedyExperimentalDesign")

Install by package version:
library("remotes")
install_version("GreedyExperimentalDesign", "1.6")



Attach the package and use:
library("GreedyExperimentalDesign")
Maintained by
Adam Kapelner
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2016-12-08
Latest Update: 2023-07-12
Description:
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) .
How to cite:
Adam Kapelner (2016). GreedyExperimentalDesign: Greedy Experimental Design Construction. R package version 1.6, https://cran.r-project.org/web/packages/GreedyExperimentalDesign. Accessed 06 Mar. 2026.
Previous versions and publish date:
1.0 (2016-12-08 16:12), 1.1 (2018-03-02 23:05), 1.2 (2018-07-15 23:40), 1.4 (2020-12-07 17:30), 1.5.5 (2022-11-17 20:40), 1.5.6.1 (2023-07-12 20:30), 1.5 (2022-11-04 16:40)
Other packages that cited GreedyExperimentalDesign R package
View GreedyExperimentalDesign citation profile
Other R packages that GreedyExperimentalDesign depends, imports, suggests or enhances
Complete documentation for GreedyExperimentalDesign
Functions, R codes and Examples using the GreedyExperimentalDesign R package
Some associated functions: GreedyExperimentalDesign . automobile . complete_randomization . complete_randomization_with_forced_balanced . computeBinaryMatchStructure . compute_gram_matrix . compute_objective_val . compute_randomization_metrics . generate_stdzied_design_matrix . greedy_orthogonalization_curation . greedy_orthogonalization_curation2 . hadamardExperimentalDesign . initBinaryMatchExperimentalDesignSearch . initBinaryMatchFollowedByGreedyExperimentalDesignSearch . initBinaryMatchFollowedByRerandomizationDesignSearch . initGreedyExperimentalDesignObject . initGreedyMultipleKernelExperimentalDesignObject . initKarpExperimentalDesignObject . initOptimalExperimentalDesignObject . initRerandomizationExperimentalDesignObject . plot.greedy_experimental_design_search . plot.greedy_multiple_kernel_experimental_design . plot_obj_val_by_iter . plot_obj_val_order_statistic . print.binary_match_structure . print.binary_then_greedy_experimental_design . print.binary_then_rerandomization_experimental_design . print.greedy_experimental_design_search . print.greedy_multiple_kernel_experimental_design . print.karp_experimental_design_search . print.optimal_experimental_design_search . print.pairwise_matching_experimental_design_search . print.rerandomization_experimental_design_search . resultsBinaryMatchSearch . resultsBinaryMatchThenGreedySearch . resultsBinaryMatchThenRerandomizationSearch . resultsGreedySearch . resultsKarpSearch . resultsMultipleKernelGreedySearch . resultsOptimalSearch . resultsRerandomizationSearch . searchTimeElapsed . standardize_data_matrix . startSearch . stopSearch . summary.binary_match_structure . summary.binary_then_greedy_experimental_design . summary.binary_then_rerandomization_experimental_design . summary.greedy_experimental_design_search . summary.greedy_multiple_kernel_experimental_design . summary.karp_experimental_design_search . summary.optimal_experimental_design_search . summary.pairwise_matching_experimental_design_search . summary.rerandomization_experimental_design_search . 
Some associated R codes: GreedyExperimentalDesign.R . RcppExports.R . binary_match_followed_by_greedy_search.R . binary_match_followed_by_rerandomization_search.R . binary_match_search.R . complete_randomization.R . greedy_multiple_kernel_search.R . greedy_orthogonalization_curation.R . greedy_orthogonalization_curation2.R . greedy_search.R . gurobi_numerical_optimization_orthogonalization_curation.R . gurobi_numerical_optimization_search.R . hadamard_search.R . karp_search.R . kernel_functions.R . optimal_search.R . randomization_metrics.R . rerandomization_search.R . shared.R . zzz.R .  Full GreedyExperimentalDesign package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
EMVS  
The Expectation-Maximization Approach to Bayesian Variable Selection
An efficient expectation-maximization algorithm for fitting Bayesian spike-and-slab regularization p ...
Download / Learn more Package Citations See dependency  
lbfgs  
Limited-memory BFGS Optimization
A wrapper built around the libLBFGS optimization library by Naoaki Okazaki. The lbfgs package implem ...
Download / Learn more Package Citations See dependency  
DatabionicSwarm  
Swarm Intelligence for Self-Organized Clustering
Algorithms implementing populations of agents that interact with one another and sense their environ ...
Download / Learn more Package Citations See dependency  
openxlsx  
Read, Write and Edit xlsx Files
Simplifies the creation of Excel .xlsx files by providing a high level interface to writing, stylin ...
Download / Learn more Package Citations See dependency  
mlr3viz  
Visualizations for 'mlr3'
Visualization package of the 'mlr3' ecosystem. It features plots for mlr3 objects such as tasks, le ...
Download / Learn more Package Citations See dependency  

26,264

R Packages

223,360

Dependencies

70,376

Author Associations

26,265

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA