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.5.6.1")



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.5.6.1, https://cran.r-project.org/web/packages/GreedyExperimentalDesign. Accessed 21 Nov. 2024.
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 (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
Get rewarded with contribution points by helping add
Reviews / comments / questions /suggestions ↴↴↴

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  
pkgdepends  
Package Dependency Resolution and Downloads
Find recursive dependencies of 'R' packages from various sources. Solve the dependencies to obtain ...
Download / Learn more Package Citations See dependency  
RcppHNSW  
'Rcpp' Bindings for 'hnswlib', a Library for Approximate Nearest Neighbors
'Hnswlib' is a C++ library for Approximate Nearest Neighbors. This package provides a minimal R int ...
Download / Learn more Package Citations See dependency  
crossrun  
Joint Distribution of Number of Crossings and Longest Run
Joint distribution of number of crossings and the longest run in a series of independent Bernoulli ...
Download / Learn more Package Citations See dependency  
kgschart  
KGS Rank Graph Parser
Restore underlining numeric data from rating history graph of KGS (an online platform of the game o ...
Download / Learn more Package Citations See dependency  
deductive  
Data Correction and Imputation Using Deductive Methods
Attempt to repair inconsistencies and missing values in data records by using information from vali ...
Download / Learn more Package Citations See dependency  

23,229

R Packages

199,929

Dependencies

62,984

Author Associations

23,230

Publication Badges

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