Description Usage Arguments Value Author(s) Examples
Generates the base vectors to be used when locating the optimal rerandomization threshold
1 2 3 4 5 6 7 | generate_W_base_and_sort(
X,
max_designs = 25000,
imbalance_function = "mahal_dist",
r = 0,
max_max_iters = 5
)
|
X |
The data as an n \times p matrix. |
max_designs |
The maximum number of designs. Default is 25,000. |
imbalance_function |
A string indicating the imbalance function. Currently, "abs_sum_difference" and "mahal_dist" are the options with the latter being the default. |
r |
An experimental feature that adds lower imbalance vectors
to the base set using the |
max_max_iters |
An experimental feature that adds lower imbalance vectors
to the base set using the |
A list including all arguments plus a matrix W_base_sorted
whose max_designs
rows are n
-length allocation vectors
and the allocation vectors are in
Adam Kapelner
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.