View source: R/bernoulli_ARL.R
calc_MC_trans_matrix | R Documentation |
Calculates the transition probability matrix for the Bernoulli CUSUM described in Brook & Evans (1972).
calc_MC_trans_matrix(h, n_grid, Wncdf, glmmod, p0, theta, theta_true)
h |
Control limit for the Bernoulli CUSUM |
n_grid |
Number of state spaces used to discretize the outcome space (when |
glmmod |
Generalized linear regression model used for risk-adjustment as produced by
the function
|
p0 |
The baseline failure probability at |
theta |
The
|
theta_true |
The true log odds ratio |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.