Abstract
Recent advances in Monte Carlo methods allow us to revisit work by de Finetti who suggested the use of approximate exchangeability in the analyses of contingency tables. This paper gives examples of computational implementations using Metropolis Hastings, Langevin and Hamiltonian Monte Carlo to compute posterior distributions for test statistics relevant for testing independence, reversible or three way models for discrete exponential families using polynomial priors and Gröbner bases.
Keywords: Priors, MCMC, Contingency Tables, Bayesian Inference, Independence
1 Introduction
In a little known article [10], de Finetti suggests a useful general procedure for quantifying the idea that collections of random variables are approximately exchangeable. He also developed methods that extend the idea to partial exchangeability. Surprisingly, de Finetti worked in terms of parameters – usually he eschewed parametric versions in favor of observables.
This paper suggests using de Finetti’s ideas to quantify things like multinomial contingency tables being approximately independent or Markov chains being close to reversible. It presents de Finetti’s examples in modern language, gives a dozen further examples, and a development for log linear models using the tools of algebraic statistics. A suite of python programs, some practical suggestions and examples complete the picture.
To begin, here is de Finetti’s original example.
Example 1 (Men and women)
Let X1, …, Xm, Y1, …, Yn be binary random variables with (Xi)1≤i≤m representing, say, the results of a test on men, and (Yi)1≤i≤n representing the result of the same test on women. Suppose that, with the (Yi)1≤i≤n fixed, the (Xi)1≤i≤m are judged exchangeable with each other, and similarly, the (Xi)1≤i≤m are exchangeable with the (Yi)1≤i≤n fixed. If the two sequences are judged extendable, de Finetti’s basic representation theorem, suitably extended, shows that there is a probability measure μ(dp1, dp2) on the Borel sets of the unit square [0, 1]2 such that
(1) |
for any binary sequences (xi)1≤i≤m, (yi)1≤i≤n with x1 + ··· + xm = a and y1 + ··· + yn = b.
Note that this kind of partial exchangeability is very different than marginal exchangeability. If Xi are independent and identically distributed from p drawn from μ(dp) and Yi = Xi, then {Xi} are ‘marginally’ exchangeable, as are the {Yj} but {Xi, Yj} are not partially exchangeable.
de Finetti considered the situation where we suspect that the covariate men/women hardly matters so that, in a rough sense, all of (Xi)1≤i≤m, (Yi)1≤i≤n are approximately exchangeable. While he didn’t offer a sharp definition, he observed that if (Xi)1≤i≤m and (Yi)1≤i≤n are exactly exchangeable, the mixing measure μ(dp1, dp2) is concentrated on the diagonal: p1 = p2. One way to build approximate exchangeability is to work with measures concentrated near the diagonal. de Finetti suggested
with scale factors A and a normalizing constant Z. The use of the quadratic in the exponent isn’t arbitrary, it is motivated by the central limit theorem. We will find it beneficial to reparametrize this as
(2) |
where B will play the role of a concentration parameter and λ is the average of (p1 − p2)2 over the unit square.
For example, in a classical discussion of testing in 2 × 2 tables, Egon Pearson [20] gave the data in Table 1.
Table 1.
Successes | Failures | Totals | |
---|---|---|---|
Sample 1 | 3 | 15 | 18 |
Sample 2 | 7 | 5 | 12 |
Totals | 10 | 20 | 30 |
In what Pearson [20] names his second scenario (II) the data are supposedly collected on two different sets of shot tested against metal plates. The two samples are considered interchangeable and Pearson proposed a method for testing whether p1 = p2. He constructed a table of the confidence values (see Supplementary material, Figure 14) for his statistics for a whole table of possible values (a, b, m = 18, n = 12). An instructive paper of Howard [18] uses this data to compare many different Bayesian and non-Bayesian procedures. Figure 1 shows the posterior distribution for p1 − p2 for differing values of the concentration parameter B. If B = 0 the prior is uniform on [0, 1]2, as B increases, the prior becomes concentrated on p1 = p2.
In his original paper, Pearson presents a graphical display of the confidence values. We offer a Bayesian version of this in the supplementary material section.
This example is explained in Section 2. Nowadays, it is easy to work with such priors, sampling from the posterior using standard Markov chain Monte Carlo techniques. In de Finetti’s time, this was a more difficult numerical analysis task; de Finetti and his students carefully worked out several numerical examples. These were presented in an English translation [12]. The examples involve more covariates (e.g. men/women, smoker/non smoker gives four possible covariates). Exponentiated quadratics are used to force the various {pi} toward each other, or toward a null model. Different weights allowed in front of various quadratic terms permit quantification of more or less prior belief in various sub-models. Section 2 presents some of de Finetti’s other examples, an actuarial example and a proportional hazards example. Section 3 presents further new examples: independence, no three-way interaction in contingency tables, Markovian and reversible Markov chains, log-linear models and models from algebraic statistics. Section 4 discusses the computational methods used to compute the posterior distributions used for inference in this framework. Finally Section 5 presents some more detailed scientific applications.
2 Background from de Finetti’s paper
Consider the sequence (X1, C1), (X2, C2), …, (Xn, Cn) with Xi ∈ {0, 1} random variables and Ci ∈ observable covariates such as male/female, hair color or weight. Suppose for now that is a finite set of cardinality c, this means that C is a factor variable with a finite set of possible levels. If all of the Xi with the same value of the covariate are considered exchangeable with each other (for fixed values of the other variables) and if the data is extendable to infinite sequences then a standard variant of de Finetti’s theorem is in force: there is a joint probability measure μ(dp1, …, dpc) on [0, 1]c such that
(3) |
Observing ri successes out of ni trials for each type i, the posterior is of the form
(4) |
In large samples, with n = n1 + ··· + nc, the Central Limit Theorem applies under mild conditions on μ (see [13]). This says the posterior is well approximated by the normal density
(5) |
with
(6) |
(7) |
(8) |
For large n, provided ni/n are bounded away from zero and one, the posterior converges weakly to a point mass at the observed proportions, see [7] for more precise versions of this. Under the approximate point mass posterior, the future observations for each covariate are judged approximately independent with probabilities , respectively.
de Finetti considers priors μ which are informative. Based on the above central limit behavior, he takes priors of Gaussian form restricted to [0, 1]c and renormalized.
Example 2 (de Finetti’s almost exchangeability)
To reflect “almost exchangeability” among the classes, de Finetti suggests taking μ of the form
(9) |
The posterior is approximately of the form
(10) |
with R from Eq. 6. This allows a rough guide for how to choose {aij; 1 ≤ i < j ≤ c}. Thinking about them in terms of a prior sample size. As aij tend to infinity, the prior becomes the uniform distribution concentrated on the main diagonal. As all aij tend to zero, the prior becomes uniform on [0, 1]c. A modern thought is to put a prior on {aij; 1 ≤ i < j ≤ c}.
In the examples from [11] Chapters 9 and 10 the {aij; 1 ≤ i < j ≤ c} are quite large. This means a very large sample size is required to change the initial opinion that the covariates do not matter (complete exchangeability).
Example 3 (de Finetti’s almost constant probability)
As a first variation, de Finetti considers the situation where all the probabilities are judged approximately equal to a constant (fixed) value p*. Think of different subjects flipping the same symmetrical coin. He suggests taking the quadratic form
(11) |
Adjusting A and B allows trading off between “all pi equal” and “all pi equal to p*”. If just the latter is considered, the form A Σi(pi − p*)2 is appropriate.
Example 4 (de Finetti’s actuarial example)
Consider (Xi, Ci) with Xi one if the ith family has an accident in the coming year and zero otherwise; Ci is the number of family members in the ith family. Suppose that all of the Xi with the same value of Ci are judged exchangeable with each other. By de Finetti’s theorem, the problem can be represented in terms of parameters pj – the chance that a family with j children has an accident in the coming years.
It is also natural to let qj = 1 − pj and consider priors concentrated about the curve . One way to do this is to use a polynomial which vanishes at the null model such as
(12) |
Other choices are possible; e.g. using ((1 − pj)1/j −(1 − p1))2 or inserting weights Aj into the sum.
Example 5 (de Finetti’s proportional rates)
Consider a medical experiment involving four categories:
treated lab animals – p1,
untreated lab animals – p2,
treated humans – p3, and
untreated humans – p4.
If the units within each category are judged exchangeable, de Finetti’s theorem shows that the problem can be described in terms of the form of the four parameters shown. de Finetti was interested in cases where the proportion of improvement due to treatment is roughly constant; p1/(p1 + p2) = p3/(p3 + p4) or equivalently p1/p2 = p3/p4 or p1p4 = p2p3. The polynomial A(p1p4 − p2p3)2 does the job.
de Finetti [10] develops this example extensively, leading to insights into how we come to believe laws of the constant proportionality type in the first place.
3 Further examples
This section uses de Finetti’s idea to suggest natural priors for a variety of standard statistical models: contingency tables (independence, no three way interaction), directed graphical models and more general log-linear models. Here the task is to translate the statistically natural version of the model into an equivalent form involving the vanishing of systems of polynomial equations. Then, a quadratic expression can be used to build priors which live close to the model.
Before proceeding, note that one use of these priors is for testing if the model holds versus the more general alternative. The de Finetti priors can be used on the alternative; more standard priors (e.g. Dirichlet) may be used for the null model, then, relevant Bayes factors may be computed. The de Finetti priors are centered around the null model. This is standard practice; for example, if X1, X2, …, Xn are Normal(μ, 1), a test for μ = 0 would be constructed using a point mass prior at μ = 0 and a normal prior on μ otherwise. Usually, this normal prior is centered at μ = 0. In testing if data is, say, Normal(0, 1) a point mass is put on the normal and, for a nonparametric test, a non-parametric prior is put on the alternative. Usually, this prior is centered on the Normal(0, 1). Thus, if a Dirichlet prior is considered, the parameter measure is taken as Normal(0, 1). For further discussion, especially for cases where an antagonistic prior is put on the alternative, see the tests for independence in [6].
Example 6 (Testing for independence in contingency tables)
Consider X1, X2, …, Xn taking values (i, j) with 1 ≤ i ≤ I, 1 ≤ j ≤ J. If Nij is the number of Xk equalling (i, j), under exchangeability and extendability, the Ni,j are conditionally multinomial with parameters {pij; 1 ≤ i ≤ I, 1 ≤ j ≤ J} and mixing measure μ(dp11, …, dpIJ). A test for independence can be based on the prior
(13) |
with pi· = Σjpij and p·j = Σipij.
Of course, this is just one of many priors that can be used. An alternative parametrization uses the form
(14) |
with 1 ≤ i1, i2 ≤ I and 1 ≤ j1, j2 ≤ J. No attempt will be made here to review the extensive Bayesian literature on testing for independence in contingency tables. The book by Good [15], and paper by Diaconis and Efron [6] survey much of this. The de Finetti priors suggested above allow a simple way to concentrate the prior around the null. We have not seen these believable possibilities (13) and (14) treated seriously previously.
Birthday-Deathday
The question we pose is Can older people hold on to die just past their birthdays? This question was popularized by Phillips[21] and is still of current research interest[2]. The effect is claimed to be potent on important people. A well known data set [3, page 429] records the month of birth and death of 82 descendants of Queen Victoria. The usual χ2 test for independence provides a statistic whose value is 115.6 on 121 degrees of freedom. An exact test [8] shows the permutation probability of χ2 ≤ 115.6 is 0.321 suggesting no association.
For our Bayesian analysis, the parameters pij, 1 ≤ i ≤ j ≤ 12 representing the chance that a subject is born in month i and dies in month j. The null hypothesis is that pij = ηiγj. We used a product uniform distribution on the 12-simplex for the null hypothesis. For the alternative, we used the density (13) where A = 0 corresponds to the uniform distribution and large A forces the prior close to the surface of independence. As described in Section 4 we take A = B/λ where λ is the expectation of Q with respect to the uniform distribution on {pij}. Thus large values of B make the prior concentrate at the surface of independence and small values of B make the prior uniform.
In this example λ, the expected value of Q is approximately 1.62 × 10−6.
Figure 2 shows the log Bayes factor log(P(Alt)/P(Null)) of the posterior as a function of B for . Here, large B forces the prior (and the posterior) onto the null so the Bayes factor is close to 1 with log close to 0. Small values of B make the null less palatable but the Bayes factors do not present compelling evidence for rejecting the hull hypothesis of independence.
Example 7 (No three way interaction)
If n objects are classified into three categories with I, J, and K levels respectively, under exchangeability and extendability, conditionally the objects have a multinomial distribution with probability pijk of falling into category (i, j, k). There is also a prior μ(dp111, …, dpIJK) on ΔIJK–1. The “no three factor interaction” model may be specified by
(15) |
Using the form
(16) |
summed over the same indices gives a simple way to put a prior near this model.
The no three way interaction model is an example of a hierarchical model [16,17,5]. The widely studied subclass of graphical models [19] having simple interactions in terms of conditional independence. All of these models are amenable to present analysis. For example, with three factors on I, J, and K levels, the three graphical models with an appropriate polynomial form for the prior are shown below (a dot in the index denotes summing over the index).
Complete independence | One variable independent | Conditional independence | |||
---|---|---|---|---|---|
|
|
|
More complex models are treated below as special cases of log-linear models. Several specific examples of explicit parametrizations of graphical models are in sections 3.2 and 3.3 of Drton et al. [9]. For directed graphical models, an explicit representation of the model is available in terms of the vanishing of homogeneous quadratic polynomials; here is a special case.
Example 8 (Directed graphical model)
Let X1, X2, X3, X4 be binary variables with distributions restricted by the graph
Thus, probabilities are to be assigned so that
Results in Example 3.3.11 of Drton, Sturmfels and Sullivan [9] yield the following quadratic in the sixteen parameters (p0000, …, p1111) to be used in the exponent of a prior on [0, 1]16 concentrating near this model:
(17) |
Example 9 (Log-linear models)
Some of the models above fall into the general class of log-linear models, equivalently, discrete exponential families. This classical subject is the start of algebraic statistics and we refer to [8,?] for extensive development, examples, and reference.
Let be a finite set, T: → a function. The exponential family through T is the family of probability measures on :
(18) |
This includes some of the models above as well as many other models in wide-spread use in applied statistics (e.g. logistic regression). Here {pθ; θ ∈ ℝd} is a subfamily of ( ) – all probabilities on. . The following development uses the tools of algebraic statistics [8,9] to produce suitable quadratic exponents that vanish near {pθ; θ ∈ ℝd} in ( ).
For simplicity, assume throughout that T(x) · 1 is equal to a constant for all x ∈ . Let be a linear generating set for
As described in Section 3 of [8] and Chapter 1 of [9], the Hilbert basis theorem shows that such generating sets exist with | | < ∞. They can be found using computational algebra (e.g. Gröbner basis) techniques. An available program implementing these techniques is described in Section 4 below. There is a large library of precomputed bases for standard examples. Observe that if Σx f(x)T(x) = 0, then Πx pθ(x)f(x) = 1 (using the fact that T(x) · 1 is constant). Write f(x) = f+(x) − f−(x), with f+(x) = max(f(x), 0) and f−(x) = max(−f(x), 0). It follows that Πx pθ(x)f+(x) − Πx pθ(x)f−(x)= 0. These considerations imply
Proposition 31
Let be a finite set, and let T: → have T(x) · 1 constant. Let be a linear generating set for
Then, the polynomial Q in entries p(x), p ∈ ( ),
(19) |
vanishes at the model.
Remark
There are many generating sets available. As explained in Chapter 1.3 of [9], these include lattice bases, Markov bases, Gröbner bases, universal Gröbner bases, and Gravner bases. Any of these may be used. Parsimony suggests using the smallest | |. Even here, there is evident non-uniqueness; the pros and cons of the various choices have yet to be studied.
Remark
Literature Note: While there doesn’t seem to be a convenient conjugate prior for the 2 × 2 table which allows for dependencies between p1 and p2, several non-conjugate priors have been suggested. Howard[18, section 7] develops the prior
Agresti and Min [1, page 520] compare this with a bivariate logit Normal prior. The present efforts can be viewed as a way of extending these from the 2 × 2 table to more general exponential families.
4 Computational methods
Pearson[20] visited three different possible interpretations of testing when faced with a 2 × 2 contingency table such as the data in Table 1. In the introduction we presented his second scenario (II) in which data are two interchangeable samples for which we have a two dimensional model. Now we turn to Pearson’s scenario (III) where the data are considered as a sample of size 30 from a larger population classified according to two attributes (for instance gender and hair color as in Table 2).
Table 2.
Black Hair | Blonde | Totals | |
---|---|---|---|
Men | 3 | 15 | 18 |
Women | 7 | 5 | 12 |
Totals | 10 | 20 | 30 |
Now, a relevant model involves a multinomial distribution with four parameters labeled
Our goal in this section is to illustrate what is possible using standard Markov chain Monte Carlo techniques, which have been implemented in the Python package definetti. The package abstracts discrete models like the ones in Sections 2 and 3 using a symbolic representation of their characterizing polynomial Q(p).
Consider the prior with density proportional to
with respect to a measure μ(dp), which we assume in the Dirichlet family. The quadratic term vanishes on the surface of independence.
The scale of A is determined by the typical value of the polynomial Q, so it will be convenient to define
and set A = B/λ to define a parameter B whose scale will be comparable from model to model.
A posterior distribution with density proportional to
will be sampled via two variants of Markov chain Monte Carlo. In each case, it will be convenient to sample an unconstrained vector p̃, related to the original parameter via px = p̃x/ p̃x, which has posterior distribution
for some normalization constant Z.
The first algorithm is a Metropolis-Hastings Markov chain with a log-normal proposal kernel. The second algorithm is a simplified version of a Riemannian manifold Langevin dynamics [14] with metric tensor G(p̃). As in Girolami and Calderhead, we define a Metropolis-Hastings Markov chain with a normal proposal kernel from p̃ with mean and covariance ε2G(p̃)−1, where f is the target posterior and the constant ε tunes the step size.
The motivation for Riemannian manifold samplers lies in their ability to move quickly in spaces with strong correlations between variables, by virtue of making bigger proposals in directions of low curvature. Thus, a common choice for the metric tensor is the Hessian of the negative logarithm of the target posterior. Crucially, for a de Finetti posterior, the entries of this matrix are polynomials in p̃ which can be computed symbolically. Since this matrix is not guaranteed to be positive-definite, it will be regularized through the SoftAbs mapping introduced by Betancourt [4].
Figure 6 shows a simulation of the posterior distribution for the 2 by 2 contingency table in example 2, using the simple Metropolis-Hastings algorithm with a log-normal proposal.
A key quantity for comparing de Finetti priors with different levels of concentration around the null model are Bayes factors of the form
(20) |
where ZB is the normalization constant of the de Finetti prior with parameter B. This statistic can be computed through a standard thermodynamic integration algorithm implemented in the definetti package.
Define
The basic identity
where denotes the expectation with respect to the posterior of p when the de Finetti prior has parameter b, allows us to write
The one-dimensional integral on the right hand side can be approximated numerically using Monte Carlo estimates of the integrand on a grid of values b ranging from B1 to B2. In the simplest variant of thermodynamic integration, this involves an application of the trapezoidal rule.
The logarithm of the Bayes factor in Eq. 20 can be written
where the second term can be approximated by thermodynamic integration as well, since H(b) can be made equal to Zb by setting nx = 0 for all x ∈ .
Figure 6 compares the marginal likelihood of the data in Table 2 using de Finetti models with increasing levels of concentration around the independence hypothesis. The figure suggests there is weak evidence against independence, with a logarithmic Bayes factor of roughly 4 in favor of the uniform prior on p versus the model with strongest concentration around the independence hypothesis. Figure 5 plots the posterior distribution of the difference between the probability of success in Sample 1 and Sample 2, for B = 25, 50, 100. In an extensive discussion on the 2 by 2 contingency table [18], Howard uses this as a test statistic for the independence hypothesis. Naturally, increasing B concentrates the posterior distribution around 0.
5 Examples
Error rates in the polymerase chain reaction
DNA sequencing experiments require the amplification of genetic material in the cells through the Polymerase Chain Reaction (PCR). This process copies each strand of DNA in the sample, but it is not entirely faithful; the reaction makes substitutions between nucleic bases A, C, G, and T with certain probabilities. A number of denoising algorithms are used to correct these substitutions. The contingency table 3 counts the number of mistakes of each type made in a sequencing experiment; this table contrasts the bases read (columns) with the true bases estimated by the denoising algorithm DADA (rows) [22].
Table 3.
A | C | G | T | |
---|---|---|---|---|
A | 1,810,943 | 142 | 4,836 | 325 |
C | 119 | 1,482,244 | 43 | 1,212 |
G | 1,568 | 69 | 1,768,575 | 171 |
T | 235 | 3,651 | 565 | 1,394,303 |
The first null hypothesis considered equates the probabilities of pairs of mistakes related by reverse complementarity. The PCR reaction copies each sequence to its complement, then the complement to the original, and so forth. For example, a specific letter G in the sequence will follow a series of transitions G→C→G→C→…. So, a mistake G→A in the amplification can be caused by introducing an A in place of a G, or a T in place of a C along this process. This suggests that the error probabilities for reverse complementary pairs pG→A and pC→T are equal.
A de Finetti prior was put on this hypothesis using a polynomial Q(p) that is a sum of squared differences for the mistake probabilities in each reverse complementary pair. The base measure μ(dp) in this example is a product of uniform measures on the 4-simplex. Figure 9 shows box plots of the posterior for each difference, as a function of the prior parameter B. While the differences are generally small, in some cases such as pA→C – pT→G the credible intervals suggest that the difference is different from 0. As the parameter B is increased, the prior begins to swamp the data and the differences are shrunk to 0. Figure 7 shows Bayes factors comparing the model with B = 0 to models with increasing values of B, which provide strong evidence against the equality in probability of reverse complementary mistakes.
A second null hypothesis was considered for these data. The matrix of mistake probabilities is stochastic, and it is interesting to consider whether it defines a reversible Markov chain. Kolmogorov’s criterion for reversibility states that the probability of every cycle is the same in the forward and backward direction. It is sufficient to verify this criterion for a finite basis of cycles, for example by taking the cycles obtained by adding every missing edge to a spanning tree on the set of states. In our DNA sequencing example, we choose the polynomial
Figure 8 shows Bayes factors computed under this prior, which provide strong evidence against reversibility.
Attitudes of white Christian subjects toward abortion
Haberman [17] reports a survey from 1972 by the national research center on the attitudes toward abortion among 1,055 white Christian subjects, who are assumed a simple random sample from the US population. Three categorical variables characterize each subject: religion (Northern Protestant, Southern Protestant, or Catholic), education level (less than 9 years, 9 to 12 years, or higher), and attitude to nontherapeutic abortion (positive, negative, or mixed).
We test the hypotheses of independence and no three way interaction on this 3 × 3 × 3 contingency table. This model has 27 parameters, and we employed a simplified Riemannian manifold Langevin algorithm to sample the posterior distribution. Figure 10 shows some diagnostic plots for the sampler, in the de Finetti model around independence.
Figure 11 shows posterior histograms of the characterizing polynomial for each model, at different values of the prior parameter B. As expected, the posterior of this variable which measures the deviation from the hypothesis concentrates around 0 as B is increased. The Bayes factors in Figure 12 show weak evidence in favor of the independence hypothesis, and Figure 13 shows slightly stronger evidence in favor of the no three way interaction model, which is less restrictive.
Supplementary Material
Acknowledgments
We thank Ben Callahan for discussions about the DNA denoising example. This work was partially funded by grant NSF-DMS-1162538 to SH, grant NSF-DMS-1208775 to PD and a CIMI fellowship that funded the travel of all three authors to Toulouse in 2014.
Contributor Information
Sergio Bacallado, Email: sergiob@stanford.edu, Sequoia Hall, Stanford University.
Persi Diaconis, Email: diaconis@math.stanford.edu, Sequoia Hall, Stanford University.
Susan Holmes, Email: susan@stat.stanford.edu, Sequoia Hall, Stanford University.
References
- 1.Agresti A, Min Y. Frequentist performance of Bayesian confidence intervals for comparing proportions in 2× 2 contingency tables. Biometrics. 2005;61(2):515–523. doi: 10.1111/j.1541-0420.2005.031228.x. [DOI] [PubMed] [Google Scholar]
- 2.Ajdacic-Gross V, Knöpfli D, Landolt K, Gostynski M, Engelter ST, Lyrer PA, Gutzwiller F, Rössler W. Death has a preference for birthdays - an analysis of death time series. Annals of epidemiology. 2012;22 (8):603–606. doi: 10.1016/j.annepidem.2012.04.016. [DOI] [PubMed] [Google Scholar]
- 3.Andrews DF, Herzberg AM. Data. Springer; 1985. [Google Scholar]
- 4.Betancourt M. Geometric Science of Information. Springer; 2013. A general metric for Riemannian manifold Hamiltonian Monte Carlo; pp. 327–334. [Google Scholar]
- 5.Darroch JN, Lauritzen SL, Speed TP. Markov fields and log-linear interaction models for contingency tables. The Annals of Statistics. 1980:522–539. [Google Scholar]
- 6.Diaconis P, Efron B. Testing for independence in a two-way table: new interpretations of the chi-square statistic. The Annals of Statistics. 1985;13(3):845–874. [Google Scholar]
- 7.Diaconis P, Freedman D. On the uniform consistency of Bayes estimates for multinomial probabilities. The Annals of Statistics. 1990;18(3):1317–1327. [Google Scholar]
- 8.Diaconis P, Sturmfels B. Algebraic algorithms for sampling from conditional distributions. The Annals of statistics. 1998;26(1):363–397. [Google Scholar]
- 9.Drton M, Sturmfels B, Sullivant S. Lectures on algebraic statistics. Springer; 2009. [Google Scholar]
- 10.de Finetti B. Sur la condition d’équivalence partielle. 1938. [Google Scholar]
- 11.de Finetti B. Probability, induction and statistics: The art of guessing. J. Wiley & Sons; 1972. [Google Scholar]
- 12.de Finetti B. On the condition of partial exchangeability. Studies in inductive logic and probability. 1980;2:193–205. [Google Scholar]
- 13.Ghosh J, Sinha B, Joshi S. Expansions for posterior probability and integrated Bayes risk. Statistical Decision Theory and Related Topics III. 1982;1:403–456. [Google Scholar]
- 14.Girolami M, Calderhead B. Riemann manifold Langevin and Hamiltonian Monte Carlo methods. Journal of the Royal Statistical Society: Series B (Statistical Methodology) 2011;73(2):123–214. [Google Scholar]
- 15.Good IJ. The estimation of probabilities: An essay on modern Bayesian methods. Vol. 258. MIT press; Cambridge, MA: 1965. [Google Scholar]
- 16.Goodman LA. The multivariate analysis of qualitative data: Interactions among multiple classifications. Journal of the American Statistical Association. 1970;65(329):226–256. [Google Scholar]
- 17.Haberman SJ. Analysis of qualitative data. vol. 1: Introductory topics. New York: Academic; 1978. [Google Scholar]
- 18.Howard J. The 2× 2 table: A discussion from a Bayesian viewpoint. Statistical Science. 1998:351–367. [Google Scholar]
- 19.Lauritzen SL. Graphical models. Oxford University Press; 1996. [Google Scholar]
- 20.Pearson ES. The choice of statistical tests illustrated on the interpretation of data classed in a 2× 2 table. Biometrika. 1947:139–167. doi: 10.1093/biomet/34.1-2.139. [DOI] [PubMed] [Google Scholar]
- 21.Phillips DP. Deathday and birthday–unexpected connection. Holden-Day Series in Probability and Statistics. 1978:71–85. [Google Scholar]
- 22.Rosen MJ, Callahan BJ, Fisher DS, Holmes SP. Denoising pcr-amplified metagenome data. BMC bioinformatics. 2012;13(1):283. doi: 10.1186/1471-2105-13-283. [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.