OC_curves_heterogeneous provides the operating characteristic(OC) curves when samples collected from a heterogeneous batch.

OC_curves_heterogeneous(c, mu_low, mu_high, sd, a, b, f, u, USL, n, n_sim)

Arguments

c

acceptance number

mu_low

the lower value of the mean concentration (\(\mu\)) for use in the graphical display's x-axis.

mu_high

the upper value of the mean concentration (\(\mu\)) for use in the graphical display's x-axis.

sd

the standard deviation of the normal distribution (on the log scale).

a

lower domain of the number of cell counts.

b

upper domain of the number of cell counts.

f

final dilution factor.

u

amount put on the plate.

USL

upper specification limit.

n

number of samples which are used for inspection.

n_sim

number of simulations (large simulations provide more precise estimations).

Value

OC curves when samples collected from a heterogeneous batch.

Details

OC_curves_heterogeneous provides OC curves for different dilution schemes when the diluted samples collected from a heterogeneous batch (this section will be updated later on).

Examples

c <- 2
mu_low <- 4
mu_high <- 9
sd <- 0.2
a <- 0
b <- 300
f <- c(0.01,0.1)
u <- c(0.1,0.1)
USL <- 1000
n <- 5
n_sim <- 50000
OC_curves_heterogeneous(c, mu_low, mu_high, sd, a, b, f, u, USL, n, n_sim)