Skip to main content
PLOS ONE logoLink to PLOS ONE
. 2013 Oct 7;8(10):e74388. doi: 10.1371/journal.pone.0074388

Bayesian Inference from Count Data Using Discrete Uniform Priors

Federico Comoglio 1,#, Letizia Fracchia 2, Maurizio Rinaldi 2,*,#
Editor: Zaid Abdo3
PMCID: PMC3792115  PMID: 24116003

Abstract

We consider a set of sample counts obtained by sampling arbitrary fractions of a finite volume containing an homogeneously dispersed population of identical objects. We report a Bayesian derivation of the posterior probability distribution of the population size using a binomial likelihood and non-conjugate, discrete uniform priors under sampling with or without replacement. Our derivation yields a computationally feasible formula that can prove useful in a variety of statistical problems involving absolute quantification under uncertainty. We implemented our algorithm in the R package dupiR and compared it with a previously proposed Bayesian method based on a Gamma prior. As a showcase, we demonstrate that our inference framework can be used to estimate bacterial survival curves from measurements characterized by extremely low or zero counts and rather high sampling fractions. All in all, we provide a versatile, general purpose algorithm to infer population sizes from count data, which can find application in a broad spectrum of biological and physical problems.

Introduction

Absolute quantification of objects, namely the determination of their total number from measurements subject to sampling uncertainty, is a classical problem in statistical inference. In this work, we consider a finite population of identical objects homogeneously dispersed in a finite volume. We assume that measurable fractions of the volume can be sampled and that the number of objects therein can be counted. Given the resulting set of measurements, we address the problem of estimating the population size and its uncertainty using a Bayesian approach with least informative prior distribution.

In a Bayesian treatment of this problem, counts are usually considered to be either Poisson, binomial or negative binomial distributed, depending on the nature of the problem at hand. For example in genomics, over-dispersed sequence count data as those obtained by RNA-Seq are more effectively modeled by a negative binomial than by a Poisson distribution, as the former provides a more flexible mean-variance relationship [1][3]. When counts are modeled as a binomial distribution, the binomial likelihood is generally coupled to a conjugate prior to yield a closed form posterior distribution, which corresponds to a simple update of the prior parameters. However, handy computations do not imply that the prior distribution correctly encodes our prior belief, which instead requires specification of both the class of prior distributions and parameters. This choice is paramount when dealing with limited sample sizes [4][6], which typically affect biologically relevant inference processes. In addition, in many applications we often have no ground to expect certain simple events to be more likely to occur than others. Therefore, as there is no reason to prefer one distribution over another, a uniform prior distribution can be used to encode this prior belief. This is a formulation of the so called principle of indifference [7], also known as Laplace's principle of insufficient reason [8]. Here, we resort to this principle in order to propose a Bayesian approach in which we introduce the least prior information over a discrete sample space. As the principle of indifference considers each possible outcome as equiprobable, it naturally leads to discrete uniform priors, a class of maximum entropy priors on a discrete sample space [9][11]. However, in order to make use of this class of prior distributions for Bayesian inference, we had to address two specific issues: i) a discrete uniform prior with infinite support is an improper prior and ii) it is not a conjugate prior for neither of the above mentioned likelihoods for counts data. Although improper priors are argument of long-standing debate in the field, Jaynes [10] provided a rigorous advice on how to use improper prior for Bayesian inference. Therefore, we addressed the first issue by following Jaynes's approach [10], namely we considered a well defined limit of discrete uniform priors and verified that, even in the limit, the resulting posterior is a proper probability distribution.

Next, despite non-conjugacy we were able to obtain a computationally tractable formula for the posterior distribution of the population size using a binomial likelihood. Particularly, we analyzed two different sampling schemes where objects are either drawn with or without replacement and report a formula for the posterior distribution for each of these cases.

We implemented our algorithms in the R package dupiR and as a showcase, we applied our framework to microbial count data obtained through viable plate counts. A number of studies in clinical and environmental microbiology, and food safety, deal with the quantitative determination of bacteria. Interestingly, low bacterial loads in a sample can challenge bacteria enumeration methods because irrespective of the sampling fraction, they result in low viable counts that are generally considered to be statistically unreliable and hence discarded. By analyzing bacteria survival data exhibiting extremely low counts and rather high sampling fractions, we show that our approach is able to cope well with these data, providing reliable credible intervals for the total number of bacteria even in such extreme cases.

Results

General concepts and notation

We consider a finite volume V containing n identical and uniformly distributed objects. A single count of k objects from a sampling fraction r, with Inline graphic, is initially considered (Figure 1A). Our goal is to estimate n using a class of discrete uniform priors. Here, counts follow a binomial distribution Inline graphic

graphic file with name pone.0074388.e003.jpg

and by Bayes' rule

graphic file with name pone.0074388.e004.jpg

We assume that our prior belief on n does not depend on r, namely Inline graphic, and that P(n) is the discrete uniform distribution with support Inline graphic given by

graphic file with name pone.0074388.e007.jpg (1)

In the following, we consider the general case in which we are given m measurements Inline graphic from sampling fractions Inline graphic (Figure 1B) and derive a formula for the posterior distribution Inline graphic distinguishing between two sampling schemes: i) sampling with replacement; ii) sampling without replacement.

Figure 1. Schematic representation of the problem and of our inference framework.

Figure 1

(A) A total of n identical objects (in gray, n = 50 in this example) is homogeneously dispersed in a finite volume V. A fraction r of V, having volume rV, is sampled (dashed red rectangle) and the number of object therein, denoted with k (k = 4 in this example) is determined. Given the measurement, the posterior distribution of n is a negative binomial probability distribution Inline graphic (bottom) computed from a binomial likelihood Inline graphic (right) and a discrete uniform prior P(n) (left). (B) Generalization of (A) to m measurements. Fractions of volume Inline graphic are sampled the number of objects therein (Inline graphic) determined as before. However, when m>1 two cases can be distinguished: i) the fractions are replaced (sampling with replacement); ii) the fractions are removed from V (sampling without replacement). In both cases, we derived a formula for the posterior distribution which is reported in the text as equation 6 for case i and equation 10 for case ii.

Derivation of the posterior distribution under sampling with replacement

Here, we derive Inline graphic given sample counts drawn with replacement. Assuming n to be conditionally independent of Inline graphic, from Bayes' rule we have

graphic file with name pone.0074388.e017.jpg (2)

Assuming that the measurements are independent of each other and that counts are conditionally independent of the sample fractions the likelihood factorizes to Inline graphic and therefore equation 2 can be written as:

graphic file with name pone.0074388.e019.jpg

Let Inline graphic as introduced in equation 1. Then

graphic file with name pone.0074388.e021.jpg (3)

As the interval Inline graphic can be arbitrarily large, the denominator of equation 3:

graphic file with name pone.0074388.e023.jpg

features a potentially intractable summation over the prior support. To address this issue we introduce the following lemma.

Lemma 1. Let Inline graphic, and Inline graphic. For Inline graphic

graphic file with name pone.0074388.e027.jpg (4)

where

graphic file with name pone.0074388.e028.jpg (5)

and Inline graphic, Inline graphic, and Inline graphic. The proof is provided in the Appendix (see Text S1). Based on the fact that the sample counts are generally orders of magnitude smaller than the population size, this lemma allows to replace the sum over n by nested sums over Inline graphic, with Inline graphic. Although the computational complexity of equation 4 is Inline graphic, the number of measurements is typically limited in a number of practical applications, thus enabling direct computation of the expression.

Using Lemma 1 we can express the posterior distribution Inline graphic as follows.

Theorem 1. If Inline graphic then,

graphic file with name pone.0074388.e037.jpg (6)

where k,x are defined as in Lemma 1.

Proof. The proof follows by rewriting the posterior distribution of n (equation 3) as

graphic file with name pone.0074388.e038.jpg

Corollary 1. Suppose Inline graphic. Then Inline graphic, for Inline graphic, and we have

graphic file with name pone.0074388.e042.jpg

Corollary 2. If Inline graphic for Inline graphic then in the limit Inline graphic

graphic file with name pone.0074388.e046.jpg

Notice that if a single measurement is given (m = 1), the posterior probability of n reduces to

graphic file with name pone.0074388.e047.jpg (7)

(see Appendix in Text S1). Let n = j+k. In the limit Inline graphic we obtain

graphic file with name pone.0074388.e049.jpg (8)

namely, the posterior Inline graphic is a negative binomial distribution shifted by k units and parametrized by k+1 and r.

Derivation of the posterior distribution under sampling without replacement

Suppose that m fractions of the volume V are sampled uniformly at random without replacement. Let Inline graphic be ordered sample counts, drawn from sampling fractions Inline graphic computed with respect to V. Clearly, if m = 1 the posterior Inline graphic is given by equation 7 and by working in the limit Inline graphic (equation 8) we have

graphic file with name pone.0074388.e055.jpg

Consider now a second measurement sampled from a fraction Inline graphic of V and therefore equal to a fraction Inline graphic of the residual volume Inline graphic. In this case, the likelihood is given by Inline graphic and the prior is Inline graphic. Therefore, the posterior distribution of n is given by

graphic file with name pone.0074388.e061.jpg (9)

Let Inline graphic and Inline graphic. By induction, equation 9 can be generalized to m measurements, obtaining

graphic file with name pone.0074388.e064.jpg (10)

This result has two important properties. First, the computation of the posterior distribution depends only on the sum of the counts and on the sum of the sampling fractions, becoming therefore independent on the number of measurements. As a consequence, any permutation of counts and fractions leads to the same posterior distribution. Second, there exists an equivalence between experiments yielding the same values of K and R through a different number of measurements, i.e. counting Inline graphic in fractions Inline graphic for Inline graphic yields the same posterior distribution as counting Inline graphic counts in a fraction Inline graphic in single measurement.

The R package dupiR

We implemented our algorithms as a package for the statistical environment R [12]. The package, which we called dupiR (discrete uniform prior-based inference with R) is available from the Comprehensive R Achive Network (CRAN) along with the relevant package manual. dupiR is based on the custom S4 class Counts, which is used to store sample information, statistical attributes and inference results. By default, the package assumes that samples have been drawn without replacement. Given a set of sample counts Inline graphic and fractions Inline graphic, dupiR defines the default support interval for the discrete uniform prior distribution as Inline graphic, where Inline graphic is the maximum likelihood estimate of n computed as Inline graphic, where Inline graphic and Inline graphic. For the special case K = 0, the prior support is defined as Inline graphic. This setup proved to be effective across a variety of simulated measurements. However, the user can override default values by explicitly using the variables n1 and n2 to define a custom prior support.

Posterior distributions can be computed using the function computePosterior, where the logical parameter replacement specifies whether counts were sampled with or without replacement. Posterior parameters can be obtained using getPosteriorParam, which returns a point estimate of n equal to its maximum a posteriori (MAP) and the corresponding credible interval at a specified confidence level (default to 95%), among other parameters. Finally, dupiR can be used to produce publication-level quality figures representing posterior distributions and parameters simply via the plot function. Further information are provided in the package documentation.

Applications to bacterial enumeration

Absolute quantification of bacteria in biological samples is performed routinely for a broad spectrum of applications ranging from diagnostics to food analysis. A standard method for bacterial enumeration is the plate count method, which despite well-recognized limitations provides an indirect measure of cell density solely based on viable bacteria [13]. Viable plate counts - the discrete outcome of this method - are then generally used to compute point estimates of the bacterial concentration in the original sample. Although Bayesian estimates of the uncertainty associated to bacteria quantification have been previously proposed, these methods assume Poisson distributed microbial counts [14], [15]. Particularly, Clough et al. [14] adopted a Poisson likelihood Inline graphic with rate λ = rn and a Gamma prior distribution Inline graphic, where κ and ρ are the shape and the rate parameters, respectively. It then follows that the posterior distribution Inline graphic is itself a Gamma distribution given by

graphic file with name pone.0074388.e081.jpg (11)

where Inline graphic and Inline graphic. Hereinafter, we will refer to this setup as the GP (Gamma-Poisson) method. In applying the GP method to bacteria enumeration, the authors chose κ = 1 and Inline graphic. Notice that the gamma distribution is appropriate to model continuous variables and therefore a continuous approximation to n is assumed in this model.

By analyzing equation 11 we can observe that when Inline graphic and Inline graphic, the expression converges to our posterior distribution under sampling without replacement (equation 10) as

graphic file with name pone.0074388.e087.jpg

Indeed notice that for small values of R the expression above depends on n as Inline graphic and that by setting ρ = 0, Inline graphic is equal to equation 11.

Convergence implies that for a broad range of measurements our inference framework and the GP method provide comparable results. However, when the difference between sampling methods is not negligible, i.e. when sampling fractions are large, the results provided by the two methods become significantly different. To investigate this difference in greater details and to assess the performances of our inference framework, we simulated measurements from total sampling fractions spanning two orders of magnitude and we compared the posterior distributions inferred with our method to those obtained via the GP method using the Jensen-Shannon divergence (JS-divergence), a symmetric version of the Kullback-Leibler divergence (see Methods). Our simulation results show that when R is so small that the effect of replacement is negligible, posterior distributions computed using our method or with the GP method correspond to the same probability distribution for any practical purpose (Figure S1). More precisely, the effect of replacement can be neglected when Inline graphic, a value at which the JS-divergence between posterior distributions computed from sampling with and without replacement drops below 10−4 (Figure S2). However, when R>1/32, the two approaches differ substantially. For these values of total sampling fractions, posterior distributions computed using our algorithm exhibit a lower variance than those computed with the GP method (Figure 2), thus providing narrower credible intervals. It is noteworthy to observe that this result is not a mere consequence of an inappropriate parametrization of the Gamma prior. Indeed, simulations performed by varying ρ over several orders of magnitude (from Inline graphic to ρ = 0.1) showed that differences between posterior distributions remain significant irrespective of ρ (Figure S3, A–E). Rather, as expected, extreme rate parameters can lead to posterior distributions that are dominated by prior belief (see Figure S3, F for an example), emphasizing the importance of an appropriate prior parametrization.

Figure 2. Comparison between posterior distributions computed with dupiR and with the GP method.

Figure 2

Middle: JS-divergence (expressed in log10) between posterior distributions computed with our algorithm using sampling without replacement or with the GP method (Clough et al. [14]) as a function of total counts (Inline graphic, see Methods) and total sampling fractions (R) obtained from two measurements (m = 2). Right and Left: examples of posterior distributions corresponding to values of (K,R) indicated by grey lines are illustrated. p-values have been computed using a two-sided Kolmogorov-Smirnov test.

Taken together, these results underscore the generality of our inference method, which is able to cope with measurements derived from any range of K and R, including extreme total sampling fractions and counts. This latter property is desirable for bacterial enumeration. In fact, only measurements with Inline graphic are routinely used to infer the population size [16] and those localizing outside this range are currently discarded. Clearly, if K<30 and Inline graphic it is often easy to obtain a measurement with K falling within the recommended range simply by considering those samples in the dilution series which are less diluted (i.e. obtained from a higher sampling fraction). However, when n is small, measurements obtained from high sampling fractions can still yield low counts. Studies investigating bacterial survival upon physical or chemical treatments or in different environmental conditions are often confronted with this limitation. Bacterial survival studies are generally based on time-course bacterial enumeration using different experimental techniques and aim to estimate bacterial survival curves that in turn are used to compare cell viability across conditions. In a recent environmental microbiology study, Fracchia et al. investigated the suitability of biosolids as inoculum vehicle for the plant-growth promoting rhizobacteria Pseudomonas fluorescens [17]. Here, we deal with a single time series which was generated as described in [17] (six time points where for each sample at least five technical replicates were subjected to bacterial enumeration, see Methods) where only the first two time points yielded Inline graphic and where more than 50% of the measurements in later time points showed K = 0 (see Figure 3). Instead of discarding these measurements, we applied dupiR to compute posterior distributions and estimated the maximum a posteriori (MAP) of n from all time points. These values were then used to fit a power-law model (see Methods) that shows good agreement with the experimental data (residual standard error of 0.1269 on 3 degrees of freedom), thus enabling us to estimate a survival curve of P. fluorescens in a time series characterized by extremely low viable counts (Figure 4). Clearly, dupiR estimates can be integrated into more complex models of cell growth or survival for which several mathematical approaches have been proposed [18][21].

Figure 3. Examples of dupiR graphical output.

Figure 3

Examples of posterior distributions of the population size n estimated and plotted with dupiR for time points (A) t = 7, (B) t = 14 (C) t = 21 and (D) t = 28 days. By default, the graph of the posterior distribution (solid black line) is plotted along with a statistical summary containing the maximum a posteriori (MAP, indicated by the blue vertical line) of n, the corresponding credible intervals (CI, green and dashed grey lines) at a significance level (SL) of 0.05 and the tails probability of the distribution function.

Figure 4. Application of discrete uniform priors to bacterial survival curves estimation.

Figure 4

Estimated bacterial survival curve (light blue line, see Methods) of P. fluorescens inoculated in soil supplemented with biosolid. Time points from t = 7 to t = 28, characterized by zero or extremely low viable counts, are indicated in tones of red and the corresponding posterior distributions are shown in Figure 3.

Discussion

Parametrization of the prior probability distribution is a key step in Bayesian statistics. This step requires particular care for small sample sizes, as posterior distributions can be easily dominated by prior belief unless the parameters reflect an appropriate equivalent sample size of the prior distribution [4], [5]. In addition, the choice of the prior is sometimes driven by convenience rather than prior belief. In this study, we set out to overcome these intrinsic limitations by implementing Keynes' principle of indifference [7] in a Bayesian framework to infer population sizes (n) from sample measurements. Notably, we did not limit ourselves to a theoretical treatment of the subject but we provide an optimized, general purpose implementation of our algorithm in the R package dupiR.

By attributing equal probabilities to each possible outcome, Keynes' principle of indifference is naturally encoded in discrete uniform priors. Notice that the application of this principle in our univariate, discrete problem is free from possible unexpected behavior that are known to arise in multivariate, continuous applications (e.g. see [22]). Although discrete uniform priors are not conjugate for likelihoods commonly adopted in dealing with count data, we were able to derive the posterior probability distribution of n using a binomial likelihood. If data are obtained through sampling with replacement, we report a computationally tractable formula of the posterior distribution of n which could be obtained by converting a summation over the prior support to multiple summations over the range of sample counts only. Indeed, while the former can be theoretically unbound, sample counts are typically orders of magnitude smaller than n. The special case in which only a single measurement is available leads to a negative binomial posterior distribution, which was then used as a building block to extend our framework to an arbitrary number of measurements obtained from sampling without replacement. The properties of the posterior distributions we obtained depend on the sampling method. Particularly, while under sampling with replacement measurements contribute individually to the inference process, if no replacement is performed then the posterior distribution depends only on the total of sample counts and fractions. This property allows computations to be independent of the number of measurements.

The sampling method has no influence on the result if the total sampling fraction is modest compared to the total volume (Inline graphic). This holds true for typical experimental settings and under this condition the performances of our algorithm are comparable to those of other Bayesian methods reported in literature, such as the GP method [14] (Figures S1 and S2). However, the results of the two methods diverge when the effect of replacement can no longer be neglected. In this cases, our method provides posterior distributions that are characterized by a significantly smaller variance compared to those obtained using a Gamma prior (Figure 2). This property can be seen analytically. Since Inline graphic and Inline graphic, when Inline graphic we have Inline graphic and hence Inline graphic.

We showed an application of our method in the context of bacterial enumeration, where we investigated the survival of an engineered strain of P. fluorescens using a time series with very low or zero viable counts and rather high sampling fractions. Although in this work we dealt with viable plate counts only, data generated by other laboratory techniques, such as the direct count [23] and the drop plate method [24] can be analyzed with dupiR. In addition, combining our algorithm with automatic plate counting [25] could result in a reliable and robust pipeline for bacteria enumeration via plate counting methods.

All in all, we provided a general purpose algorithm to infer population sizes from count data. We believe that the method can be applied to a broad spectrum of applications in both biological and physical sciences.

Materials and Methods

Simulation

Given a set of total counts K and a set of total sampling fractions R we considered the pairs K×R and computed posterior distributions using either our posterior formula under sampling without replacement or the GP method. For each Inline graphic, all posterior distributions were computed using the same discrete uniform prior by setting its support to the interval Inline graphic, where Inline graphic. Posterior distributions computed via the two methods were compared by computing the Jensen-Shannon divergence (JS-divergence), a symmetrised Kullback-Leibler divergence (KL-divergence) [26]. Given two discrete probability distributions p and q, the KL-divergence (in bits) is defined as

graphic file with name pone.0074388.e105.jpg

Since the KL-divergence is not symmetric, different symmetrization procedures have been proposed in literature. Here we used a symmetric form of the KL-divergence known as Jensen-Shannon divergence (JS-divergence) [27]. By letting Inline graphic be the average distribution of p and q, the JS-divergence is defined as

graphic file with name pone.0074388.e107.jpg

and represents the average KL-divergence of the distributions p,q to the average distribution a. When JS(p,q) is computed in bits we have Inline graphic. Therefore, in this work we always considered the quantity Inline graphic.

Experimental procedure

Viable plate counts of Pseudomonas fluorescens were obtained essentially as described in [17] in a single time series (six time points). Briefly, bacteria of the rifampicin and tetracyclin resistant strain P. fluorescens 92RTcgfp carrying the gfp gene were precultured to a density of 108–109 cells/ml. The bacterial suspension was then inoculated into a microcosm consisting of soil supplemented with biosolid and incubated at 25 C° in the dark over a period of 28 days. Inoculation corresponds to the time point t = 0. Samples were collected at time points t = 3,7,14,21 and t = 28 days, subjected to log10 serial dilution and plated on LB agar added with rifampicin, tetracycline and cycloheximide. For each time point, viable plate counts were determined from five or more technical replicates.

Estimation of survival curves

For each time point, posterior distributions were computed using dupiR and sampling without replacement. Survival curves were fit using a power-law model

graphic file with name pone.0074388.e110.jpg

where n(t) is the maximum a posteriori of the population size at time point t. The model was fit using the R function nls [12] and starting estimates Inline graphic, β = 0.2 and Inline graphic.

Supporting Information

Text S1

Appendix. This supplementary file is an Appendix containing the proof of Lemma 1 and additional information pertaining the derivation of the posterior distributions discussed in the main text.

(PDF)

Figure S1

Simulation results. JS-divergence (expressed in log10) between posterior distributions computed with our method without replacement or with the GP method as a function of the total sampling fractions (R). Total counts Inline graphic have been considered.

(TIF)

Figure S2

Maximum JS-divergence as a function of the total sampling fraction. Maximum JS-divergence as a function of R. The red line indicates a linear regression fit. The orange vertical dashed line indicates the value R = 1/32. For R<1/32, posterior distributions computed with or without replacement can be considered to be the same for any practical application.

(TIF)

Figure S3

Comparison between dupiR and the GP method for different Gamma prior parameters. JS-divergence (expressed in log10) between posterior distributions computed with dupiR and sampling without replacement or with the GP method (Clough et al. [14]) as a function of total counts (K) and total sampling fractions (R) obtained from two measurements (m = 2, see Methods). The rate parameter (ρ) of the Gamma prior was varied over four orders of magnitude and different panels correspond to simulations run with (A) ρ = 10−5, (B) ρ = 10−4, (C) ρ = 10−3, (D) ρ = 10−2, (E) ρ = 0.1. (F) Example of the effect of the Gamma prior parametrization on the posterior distribution inferred from K = 5,R = 0.25 and ρ = 10−6 (orange), ρ = 10−2 (red) and ρ = 0.1 (brown). The latter case encodes a prior of K = 1 from R = 0.1. The posterior distribution estimated with dupiR is shown in blue, with the maximum a posteriori of n indicated by the dashed gray line.

(TIF)

Acknowledgments

F.C. is part of the Life Science Zurich Graduate School, PhD program in Systems Biology. F.C. would like to thank Renato Paro for having kindly supported this work.

Funding Statement

This work was funded by the Ministry of Education, University and Research (MIUR, http://www.miur.it). The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

References

  • 1. Anders S, Huber W (2010) Differential expression analysis for sequence count data. Genome Biol 11: 1–12. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2. Robinson M, Smyth GK (2007) Moderated statistical tests for assessing differences in tag abundance. Bioinformatics 23: 2881–2887. [DOI] [PubMed] [Google Scholar]
  • 3. Robinson M, Smyth GK (2008) Small-sample estimation of negative binomial dispersion, with applications to SAGE data. Biostatistics 23: 321–332. [DOI] [PubMed] [Google Scholar]
  • 4. Morita S, Thall PF, Müller P (2008) Determining the effective sample size of a parametric prior. Biometrics 64: 595–602. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5. Morita S, Thall PF, Müller P (2010) Evaluating the Impact of Prior Assumptions in Bayesian Biostatistics. Stat Biosci 2: 1–17. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6.Bolstad WM (2007) Introduction to Bayesian Statistics, 2nd edition. Wiley-Interscience, 464p.
  • 7.Keynes JM (1921) A treatise on probability. London: Macmillan & Co. 500p.
  • 8.Murphy KP (2012) Machine learning: a probabilistic perspective. MIT Press, 1067p.
  • 9. Jaynes ET (1968) Prior Probabilities. IEEE Trans Syst Sci Cybern 4: 227–241. [Google Scholar]
  • 10.Jaynes ET (2003) Probability theory: the logic of science. Cambridge University Press. 758p.
  • 11.Cover TM, Thomas AJ (2006) Elements of Information Theory (2nd edition). Wiley-Interscience. 776p.
  • 12.R Core Team (2013) R: A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria.
  • 13. Hazel MD (2011) Life, Death, and In-Between: Meanings and Methods in Microbiology. Appl Environ Microbiol 77 (16) 5571–5576. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14. Clough HE, Clancy D, O'Neill PD, Robinson SE, French NP (2005) Quantifying Uncertainty Associated with Microbial Count Data: A Bayesian Approach. Biometrics 61: 610–616. [DOI] [PubMed] [Google Scholar]
  • 15. Niemela SI (2003) Measurement uncertainty of microbiological viable counts,. Accred Qual Assur 8: 559–563. [Google Scholar]
  • 16.Koch AL (1994) Growth measurement. In: Gerhardt PZ editor. Methods for General and Molecular Bacteriology. ASM Press, Washington DC.
  • 17. Fracchia L, Perotti EBR, Pidello A, Rinaldi M, Martinotti MG (2011) Persistence and Impact of a PGPR on Microbial Communities of Biosolids and Soil Amended with Them,. J Environ Eng Sci 5: 578–595. [Google Scholar]
  • 18. Zwietering MH, Jongenburger FM, Rombouts FM, Van 'Triet K (1990) Modeling of the Bacterial Growth Curve. Appl Environ Microbiol 56 (6) 1875–1881. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19. Xiong R, Xie G, Edmondson AE, Sheard MA (1999) A mathematical model for bacterial inactivation. Int J Food Microbiol 46: 45–55. [DOI] [PubMed] [Google Scholar]
  • 20.Bates DM, Watts DG (1988) Nonlinear Regression Analysis and Its Applications. Wiley- Interscience. 365p.
  • 21.Bates DM, Chambers JM (1992) Nonlinear models. In: Chambers JM, Hastie TJ editors. Statistical Models in S, Wadsworth & Brooks/Cole.
  • 22. Jaynes ET (1973) The Well-Posed Problem. Found Phys 3: 477–492. [Google Scholar]
  • 23. Kirchman D, Sigda J, Kapuscinski R, Mitchell R (1982) Statistical analysis of the direct count method for enumerating bacteria. Appl Environ Microbiol 44 (2) 376–382. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24. Herigstad B, Hamilton M, Heersink J (2001) How to optimize the drop plate method for enumerating bacteria. J Microbiol Methods 44 (2) 121–129. [DOI] [PubMed] [Google Scholar]
  • 25. Brugger SD, Baumberger C, Jost M, Jenni W, Brugger U, et al. (2012) Automated Counting of Bacterial Colony Forming Units on Agar Plates. PLoS ONE 7 (3) e33695. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26. Kullback S, Leibler RA (1951) On Information and Sufficiency. Ann Math Stat 33: 79–86. [Google Scholar]
  • 27. Lin J (1991) Divergence measures based on the Shannon entropy. IEEE Trans Inf Theory 37: 145–151. [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Text S1

Appendix. This supplementary file is an Appendix containing the proof of Lemma 1 and additional information pertaining the derivation of the posterior distributions discussed in the main text.

(PDF)

Figure S1

Simulation results. JS-divergence (expressed in log10) between posterior distributions computed with our method without replacement or with the GP method as a function of the total sampling fractions (R). Total counts Inline graphic have been considered.

(TIF)

Figure S2

Maximum JS-divergence as a function of the total sampling fraction. Maximum JS-divergence as a function of R. The red line indicates a linear regression fit. The orange vertical dashed line indicates the value R = 1/32. For R<1/32, posterior distributions computed with or without replacement can be considered to be the same for any practical application.

(TIF)

Figure S3

Comparison between dupiR and the GP method for different Gamma prior parameters. JS-divergence (expressed in log10) between posterior distributions computed with dupiR and sampling without replacement or with the GP method (Clough et al. [14]) as a function of total counts (K) and total sampling fractions (R) obtained from two measurements (m = 2, see Methods). The rate parameter (ρ) of the Gamma prior was varied over four orders of magnitude and different panels correspond to simulations run with (A) ρ = 10−5, (B) ρ = 10−4, (C) ρ = 10−3, (D) ρ = 10−2, (E) ρ = 0.1. (F) Example of the effect of the Gamma prior parametrization on the posterior distribution inferred from K = 5,R = 0.25 and ρ = 10−6 (orange), ρ = 10−2 (red) and ρ = 0.1 (brown). The latter case encodes a prior of K = 1 from R = 0.1. The posterior distribution estimated with dupiR is shown in blue, with the maximum a posteriori of n indicated by the dashed gray line.

(TIF)


Articles from PLoS ONE are provided here courtesy of PLOS

RESOURCES