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]
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 30 Apr. 2025.
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
03/3104/0104/0204/0404/0504/0604/0704/0804/0904/1104/1204/1304/1404/1504/1604/1704/1804/1904/2004/2104/2204/2304/2404/2504/2604/2704/2804/29Downloads for GreedyExperimentalDesign0510152025303540TrendBars

Today's Hot Picks in Authors and Packages

micEconAids  
Demand Analysis with the Almost Ideal Demand System (AIDS)
Functions and tools for analysing consumer demand with the Almost Ideal Demand System (AIDS) sugg ...
Download / Learn more Package Citations See dependency  
GRAPE  
Gene-Ranking Analysis of Pathway Expression
Gene-Ranking Analysis of Pathway Expression (GRAPE) is a tool for summarizing the consensus behavio ...
Download / Learn more Package Citations See dependency  
eyetrackingR  
Eye-Tracking Data Analysis
Addresses tasks along the pipeline from raw data to analysis and visualization for eye-tracking dat ...
Download / Learn more Package Citations See dependency  
crimeutils  
A Comprehensive Set of Functions to Clean, Analyze, and Present Crime Data
A collection of functions that make it easier to understand crime (or other) data, and assist other ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
schrute  
The Entire Transcript from the Office in Tidy Format
The complete scripts from the American version of the Office television show in tibble format. Use ...
Download / Learn more Package Citations See dependency  

24,142

R Packages

207,311

Dependencies

65,176

Author Associations

24,143

Publication Badges

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