View source: R/bernoulli_ARL.R
bernoulli_ARL_SPRT | R Documentation |
Internal function that calculates the ARL using the connection between the ARL of a Wald SPRT and a CUSUM.
bernoulli_ARL_SPRT(h, n_grid, Wncdf, glmmod, theta, theta_true, p0,
tol = 1e-06)
h |
Control limit for the Bernoulli CUSUM |
n_grid |
Number of state spaces used to discretize the outcome space (when |
Wncdf |
A function returning the values of the (risk-adjusted) cumulative distribution function (cdf) for the singletons Wn. |
glmmod |
Generalized linear regression model used for risk-adjustment as produced by
the function
|
theta |
The
|
theta_true |
The true log odds ratio |
p0 |
The baseline failure probability at |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.