View source: R/bernoulli_ARL.R
calc_Wncdf | R Documentation |
Internal function to calculate cdf of singletons W_n
of the Bernoulli CUSUM chart. The cdf is used to create the transition matrix
when Markov Chain methodology is used or to determine the integral equation/probabilities
of a Wald test when integral equation or Kemp's methodology is used.
calc_Wncdf(glmmod, theta, theta_true, p0, smooth_prob = FALSE)
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 |
smooth_prob |
Should the probability distribution of failure under the null distribution be smoothed?
Useful for small samples. Can only be TRUE when |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.