View source: R/compute_baseline.R
compute_baseline_for_sample_size | R Documentation |
Given target variance process bounds for confidence sequences, compute baseline parameters.
compute_baseline_for_sample_size(
alpha,
v_upper,
v_lower,
psi_fn_list = generate_sub_G_fn(),
skip_g_alpha = TRUE,
v_min = 1,
k_max = 200,
tol = 1e-10
)
alpha |
ARL parameter in (0,1) |
v_upper |
Upper bound of the target variance process bound |
v_lower |
Lower bound of the target variance process bound. |
psi_fn_list |
A list of R functions that computes psi and psi_star functions. Can be generated by |
skip_g_alpha |
If true, we do not compute g_alpha and use log(1/alpha) instead. |
v_min |
A lower bound of v function in the baseline process. Default is |
k_max |
Positive integer to determine the maximum number of baselines. Default is |
tol |
Tolerance of root-finding, positive numeric. Default is 1e-10. |
A list of 1. Parameters of baseline processes, 2. Mixing weights, 3. Auxiliary values for computation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.