Package: OptimalRerandExpDesigns 1.1

Adam Kapelner

OptimalRerandExpDesigns: Optimal Rerandomization Experimental Designs

This is a tool to find the optimal rerandomization threshold in non-sequential experiments. We offer three procedures.

Authors:Adam Kapelner, Michael Sklar, Abba M. Krieger and David Azriel

OptimalRerandExpDesigns_1.1.tar.gz
OptimalRerandExpDesigns_1.1.zip(r-4.5)OptimalRerandExpDesigns_1.1.zip(r-4.4)OptimalRerandExpDesigns_1.1.zip(r-4.3)
OptimalRerandExpDesigns_1.1.tgz(r-4.4-any)OptimalRerandExpDesigns_1.1.tgz(r-4.3-any)
OptimalRerandExpDesigns_1.1.tar.gz(r-4.5-noble)OptimalRerandExpDesigns_1.1.tar.gz(r-4.4-noble)
OptimalRerandExpDesigns_1.1.tgz(r-4.4-emscripten)OptimalRerandExpDesigns_1.1.tgz(r-4.3-emscripten)
OptimalRerandExpDesigns.pdf |OptimalRerandExpDesigns.html
OptimalRerandExpDesigns/json (API)

# Install 'OptimalRerandExpDesigns' in R:
install.packages('OptimalRerandExpDesigns', repos = c('https://kapelner.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/kapelner/optimalrerandexpdesigns/issues

Uses libs:
  • openjdk– OpenJDK Java runtime, using Hotspot JIT

On CRAN:

2.70 score 1 scripts 125 downloads 10 exports 80 dependencies

Last updated 4 years agofrom:fc6033a37d. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 08 2024
R-4.5-winOKNov 08 2024
R-4.5-linuxOKNov 08 2024
R-4.4-winOKNov 08 2024
R-4.4-macOKNov 08 2024
R-4.3-winOKNov 08 2024
R-4.3-macOKNov 08 2024

Exports:complete_randomization_plus_one_min_onecomplete_randomization_with_forced_balance_plus_one_min_onecompute_objective_val_plus_one_min_one_encfrob_norm_sqfrob_norm_sq_debiasedfrob_norm_sq_debiased_times_matrixgenerate_W_base_and_sortoptimal_rerandomization_exactoptimal_rerandomization_normality_assumedoptimal_rerandomization_tail_approx

Dependencies:backportsbase64encbslibcachemcheckmatecliclustercolorspacedata.tableDBIdigestevaluatefansifarverfastmapfontawesomeforeignFormulafsggplot2glueGreedyExperimentalDesigngridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsisobandjquerylibjsonlitekernlabknitrlabelinglatticelifecyclemagrittrMASSMatrixmemoisemgcvmimeminqamitoolsmomentchi2munsellnbpMatchingnlmennetnumDerivpillarpkgconfigR6rappdirsRColorBrewerRcppRcppArmadillorJavarlangrlistrmarkdownrpartrstudioapisassscalesstringistringrsurveysurvivaltibbletinytexutf8vctrsviridisviridisLitewithrxfunXMLyaml

Readme and manuals

Help Manual

Help pageTopics
Implements the complete randomization design (CRD) AKA Bernoulli Trialcomplete_randomization_plus_one_min_one
Implements the balanced complete randomization design (BCRD)complete_randomization_with_forced_balance_plus_one_min_one
Returns the objective value given a design vector as well an an objective function. This is code duplication since this is implemented within Java. This is only to be run if...compute_objective_val_plus_one_min_one_enc
Naive Frobenius Norm Squaredfrob_norm_sq
Debiased Frobenius Norm Squared Var-Cov matrixfrob_norm_sq_debiased
Debiased Frobenius Norm Squared Constant Times Var-Cov matrixfrob_norm_sq_debiased_times_matrix
Generate Base Assignments and Sortsgenerate_W_base_and_sort
Find the Optimal Rerandomization Design Exactlyoptimal_rerandomization_exact
Find the Optimal Rerandomization Design Under the Gaussian Approximationoptimal_rerandomization_normality_assumed
Find the Optimal Rerandomization Design Under the Tail and Kurtosis Approximationoptimal_rerandomization_tail_approx
Optimal Rerandomization Threshold Search for Experimental DesignOptimalRerandExpDesigns
Plots a summary of a 'optimal_rerandomization_obj' objectplot.optimal_rerandomization_obj
Plots a summary of the imbalances in a 'W_base_object' objectplot.W_base_object
Prints a summary of a 'optimal_rerandomization_obj' objectprint.optimal_rerandomization_obj
Prints a summary of a 'W_base_object' objectprint.W_base_object
Prints a summary of a 'optimal_rerandomization_obj' objectsummary.optimal_rerandomization_obj
Prints a summary of a 'W_base_object' objectsummary.W_base_object