View source: R/cm.n.clopper.pearson.R
cm.n.clopper.pearson | R Documentation |
Provides the required sample size with respect to the extended upper Clopper-Pearson limit for a failure model, where countermeasures are introduced.
cm.n.clopper.pearson(p, size, cm.effect, alpha = 0.1, uniroot.lower = k + 1,
uniroot.upper = 1e+100, uniroot.tol = 1e-10, uniroot.maxiter = 1e+05)
p |
target probability. |
size |
vector of the number of failures for each type. |
cm.effect |
vector of the success probabilities to solve a failure for each type. Corresponds to the probabilities |
alpha |
significance level for the |
uniroot.lower |
The value of the |
uniroot.upper |
The value of the |
uniroot.maxiter |
The value of the |
uniroot.tol |
The value of the |
Provides the required sample size with respect to the extended upper Clopper-Pearson limit. It applies for the case that failures are tackled by countermeasures. That means countermeasures with different effectivities for each failure type are introduced. See the references for further information.
The value for the required sample size.
D.Kurz, H.Lewitschnig, J.Pilz, Decision-Theoretical Model for Failures which are Tackled by Countermeasures, IEEE Transactions on Reliability, Vol. 63, No. 2, June 2014.
uniroot
,dgbinom
,cm.clopper.pearson.ci
,n.clopper.pearson
## target failure probability p=0.00001, 2 failures divided in 2 failure types k1=1, k2=1.
## 2 countermeasures with effectivities p1=0.5, p2=0.8
cm.n.clopper.pearson(0.00001,size=c(1,1),cm.effect=c(0.5,0.8))
# 365299
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.