For a regular one-parameter sampling distribution, the Fisher information and Jeffreys prior are
Under the usual differentiation and integrability conditions, . This prior distribution transforms as a density under smooth one-to-one reparameterizations, so the rule is coordinate invariant. Its integral need not be finite; posterior propriety must still be established if it is an improper prior.
For a binomial distribution, the score function is
Its squared expected value is , using the binomial distribution variance . Hence the Jeffreys prior is
the Beta distribution . The factor is independent of and disappears on normalization.
Independent Jeffreys priors and the two independent binomial distribution likelihood factors give, by Beta-binomial conjugacy,
The Bayesian posteriors remain independent because each observation factor involves only its own probability. Their posterior means are respectively and . Notice that is the probability of saying milk first when tea was first, rather than the probability of a correct tea identification.
In Markov chain Monte Carlo, retain the derived quantity at every iteration. Rough BUGS code using the actual observations is
model {
  pM ~ dbeta(0.5,0.5)
  pT ~ dbeta(0.5,0.5)
  milkAnswers ~ dbin(pM,4)
  teaAnswers ~ dbin(pT,4)
  delta <- pM-pT
  positive <- step(delta)
}
Supply milkAnswers=3 and teaAnswers=1. Summarize delta by its posterior mean, empirical quantiles and credible interval; the average of positive estimates . Here . Check Markov chain Monte Carlo convergence diagnostics before interpreting the simulation. Since both Bayesian posteriors are independent known Beta distributions, direct independent sampling is an equally valid, simpler way to obtain the same summaries.
Start with the Beta distribution draw in the Beta-binomial exchangeable coupling. Write and
These are the expected value and variance of . The fixed in this coupling is a dependence parameter chosen by the investigator, not necessarily the observed number of cups. The four numbered stages together address the single printed correlation request.
Conditional on , the auxiliary binomial distribution gives and . Thus large makes close to . The law of total variance also gives
The latent variable encodes the first draw increasingly accurately.
The next Beta distribution has conditional expected value and variance
For large , its expected value approaches , while its variance is at most . The final draw therefore stays close to the first. These are prior distributions for the cup probabilities: the auxiliary count is a device for constructing dependence, rather than additional observed tea data.
The law of iterated expectation yields
One may obtain either from its unchanged marginal distribution proved below or directly from the law of total variance: the variance of its conditional mean is and its expected conditional variance is . Hence the correlation coefficient is exactly
Also . The two probabilities become close while keeping their original beta marginals.
Apply the law of iterated expectation to the auxiliary binomial distribution:
This expectation is over the full prior distribution construction, not over a particular observed auxiliary count.
Using the conditional Beta distribution expected value and the law of iterated expectation,
Equality of the expected values alone does not prove equality of the marginal distributions; the later exchangeability argument does.
Multiply the Beta distribution density of , the conditional binomial distribution mass of , and the conditional Beta distribution density of . With the beta function, the full joint density, relative to counting measure in and Lebesgue measure in the two probabilities, is
Here and both probabilities lie in . The printed joint expression omits the factor . It is a constant when is fixed and only the two probabilities vary, but is not a constant for the full joint probability distribution. Keeping it is essential when summing over the latent variable.
Two exchangeable random variables satisfy : their joint probability distribution is unchanged by swapping the coordinates. Thus for every measurable set ,
Exchangeability implies identical marginal distributions, but does not imply independence.
For each auxiliary count , the correctly normalized joint expression above is symmetric in . Summing it over preserves that symmetry, so these are exchangeable random variables. Their marginal distributions are therefore identical. Since was generated from a Beta distribution,
The Beta-binomial exchangeable coupling changes the dependence, while leaving both prior distributions unchanged.

Articles by others on the same topic (0)

There are currently no matching articles.