R/prob_detection_homogeneous_multiple.R
prob_detection_homogeneous_multiple.Rd
prob_detection_homogeneous_multiple
provides a probability of detection for multiple dilution schemes in the original sample when samples collected from a homogeneous batch.
prob_detection_homogeneous_multiple(lambda, a, b, f, u, USL, n_sim)
the expected cell count (\(\lambda\)).
lower domain of the number of cell counts.
upper domain of the number of cell counts.
final dilution factor.
amount put on the plate.
upper specification limit.
number of simulations (large simulations provide more precise estimations).
Probability of detection when diluted samples are collected from a homogeneous batch.
prob_detection_homogeneous_multiple
provides a probability of detection when the diluted sample has homogeneous contaminants. We define the random variable \(X_{i}\) is the number of colonies on the \(i^{th}\) plate.
In practice, the acceptance for countable numbers of colonies on a plate must be between 30 and 300. Therefore, we can utilise bounded distributions to model the number of colonies on a plate. In the homogeneous case, we employed truncated Poisson distribution to model (this section will be updated later on).