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(),
v_min = 1,
k_max = 200,
tol = 1e-10
)
A list of 1. Parameters of baseline processes, 2. Mixing weights, 3. Auxiliary values for computation.
ARL parameter in (0,1)
Upper bound of the target variance process bound
Lower bound of the target variance process bound.
A list of R functions that computes psi and psi_star functions. Can be generated by generate_sub_G_fn()
or counterparts for sub_B and sub_E.
A lower bound of v function in the baseline process. Default is 1
.
Positive integer to determine the maximum number of baselines. Default is 200
.
Tolerance of root-finding, positive numeric. Default is 1e-10.