compute_baseline_for_sample_size {stcpR6} | R Documentation |
Compute baseline parameters given target variance process bounds.
Description
Given target variance process bounds for confidence sequences, compute baseline parameters.
Usage
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
)
Arguments
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 |
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. |
Value
A list of 1. Parameters of baseline processes, 2. Mixing weights, 3. Auxiliary values for computation.
[Package stcpR6 version 0.9.6 Index]