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.
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.
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.
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.
In a normal linear model, attach a continuous spike-and-slab prior to each regression coefficient. With suitably scaled predictors, introduce indicators and set
The narrow component describes practically negligible effects; the wide component permits substantial ones. Fit the joint Bayesian posterior of coefficients, indicators and any unknown residual variance. Bayesian model averaging gives shrinkage toward zero for poorly supported effects, while quantifies wide-component support. A shared Beta distribution prior on can represent uncertainty about how many effects are substantial.
Select on scientifically meaningful effect size, for example a high for a prechosen threshold in meaningful predictor units. Membership in the wide component alone does not imply a large realized effect: its normal distribution still permits values near zero. Correlated predictors also require interpretation of the joint Bayesian posterior, rather than treating each coefficient as an isolated test.
Let , so a type values a prize at . In a symmetric increasing Bayes-Nash equilibrium of this rank-order contest, a player reporting type wins when at most opponents have larger types. Its winning probability is
Here the count of opponents above has a binomial distribution. Differentiation, or the associated order statistic density, gives
Define the effort by the all-pay effort identity
This also verifies equilibrium globally. The derivative of a type 's payoff from reporting is , positive before and negative after . Thus truthful reporting is a best response. Bidding above the maximal equilibrium effort gains no additional winning probability. Type zero chooses zero effort.
By exchanging the two integrations, the expected value of total effort is
The last integral is the moment for a Beta distribution with parameters and , namely . This is the uniform-value multi-prize all-pay effort formula.
Put and . The positive constant multiplying does not affect the maximizing . Since
the assumed inequality makes nonincreasing on the feasible interval. Hence one prize maximizes expected total effort.
For the power family, the PDF gives . Then
If , this derivative is strictly negative for : the bracket is affine and its values at the endpoints are and . Thus is optimal.
If , the unique continuous maximizer is
The objective strictly increases before and decreases after it. Therefore its discrete maximizer lies among
Compare the surviving candidates using , since . If is an integer, that integer is the unique maximizer; if its floor is zero, the only feasible candidate is . This proves the discrete prize-count optimization for a power-valued contest including the endpoint cases.
The sufficient condition need only hold on . The power family is undefined at zero, so the printed endpoint cannot apply to it. More generally, a positive finite value would make the displayed inequality fail at zero. The design argument uses only positive feasible prize fractions and needs no value there.
For , the binomial log-likelihood is plus a constant. Its maximizer, including endpoints, is . For , the Fisher information is
This follows either from the expected negative second derivative or the variance of . At the usual regular score formula does not apply; the interior information diverges as an endpoint is approached.
For a symmetric Beta distribution prior , conjugacy gives , with posterior mean . All three priors below are instances of this calculation.
Set and . Their inverse change of variables is , , with domain , . The absolute Jacobian determinant of this inverse transformation is
Use the independence of random variables to multiply the two original Gamma distribution densities. The change of variables formula then gives the joint probability density
Factor this into two normalized densities:
The support is a product domain, and the factors are precisely a Beta distribution density and a Gamma distribution density. Therefore
This beta-gamma independence uses the common rate ; it is a rate parameter, not the scale parameter .
Put and . Dropping factors independent of , the multinomial likelihood and uniform prior give the posterior density
Multiplying this by the stipulated binomial distribution for the latent variable cancels the factor :
Consequently the two full conditional distributions are
Start with , sample from its binomial distribution, then sample a new from its Beta distribution, and repeat. The binomial distribution can be sampled by adding independent Bernoulli random variables. For the Beta distribution, take independent and and return ; integer-shape gamma distributions are sums of independent unit-rate exponential distributions. Both shapes are positive even when some observed counts vanish.
Each Gibbs sampler update preserves the augmented posterior distribution, so its marginal distribution is the required posterior distribution. The positive full conditional distributions on the interior allow exploration of the entire support. These iterates are generally dependent; they are not the independent exact draws constructed in the later parts.
Under the binomial distribution model's assumption of independent games with a common win probability , the probability of winning a match is
This is also the cumulative distribution function of a Beta distribution with parameters : differentiation of the binomial tail gives , and . In particular is strictly increasing on and maps bijectively onto itself.
The new match probability is , while the desired linear predictor remains the game-level log odds. Therefore the link function is
Its endpoint values are and . This is not the ordinary match-level log odds link: it first recovers the underlying game probability. Symmetry of the binomial tail gives , hence , as required by swapping the players. Dependence or varying game probabilities within a match would invalidate the stated binomial-tail conversion.
With the uniform prior, the binomial likelihood gives the Beta distribution posterior . Under squared-error loss, the Bayes estimator is the posterior mean:
The production manager's prior gives posterior density proportional to . Minimizing gives the weighted posterior mean
using the supplied beta function. Cross multiplication shows exactly when , so it is greater unless .
For , the nearest neighbour distance is the th order statistic of . Each has continuous distribution function on . The probability integral transform makes independent and identically distributed random variables with the uniform distribution on . Monotonicity of gives , a uniform order statistic. Strict monotonicity is not needed at this stage.
For , counting observations below gives
Differentiating and cancelling consecutive terms gives the Beta distribution:
The Gamma function identity identifies this with the stated normalization. Ratios of Beta function integrals yield the moments
This is the probability content of a nearest neighbour ball identity, specialized to intervals on the real line.
Now write . The Lipschitz bound gives
Thus
Strict positivity of the probability density function makes continuous and strictly increasing from zero to one, so its inverse function is defined for every .
For the requested conditional calculation, suppose . At the preceding bound gives
Therefore , and substituting in the approximation proves the inverse probability content bound for a Lipschitz density:
The same argument works, without , on the meaningful local range with .
Since the nearest neighbour density estimator obeys , its conditional bound follows from the Beta distribution moments:
Hence, under the printed location condition,
The conditional inverse function bound also bounds , so the expected value in this calculation is finite under those formal hypotheses.
There is, however, a genuine flaw in the original PDF: the printed condition has no admissible points when is strictly positive on all of . A probability density function on all of cannot have Lipschitz constant zero, so . Its Lipschitz bound forces
Integrating this triangular lower envelope gives the Lipschitz density height bound
The inequality is strict because the probability density function has positive mass outside the finite interval. Thus everywhere. The last two conditional conclusions above are valid implications but vacuous as printed. Dropping strict positivity gives only , with equality forcing the entire probability density function to be the normalized triangular envelope. The local inverse bound does not justify replacing the printed condition by its reverse in the final expected value bound, since ranges over all of .
For any action , decompose the posterior expected quadratic loss around the posterior mean:
The unique minimizer is therefore the Bayes estimator under squared error loss. Using the mean of the posterior Beta distribution gives
Under repeated sampling at parameter value , has the binomial distribution with expected value . Consequently
so its bias of an estimator is .
The mean condition gives , hence . The Beta distribution variance is then
Since , equating variances gives . Therefore
By Bayes theorem, with respect to Lebesgue measure on ,
The omitted constant includes the binomial coefficient and the normalizing constant of the Beta distribution; the uniform prior contributes only the support indicator.
The uniform prior is the Beta distribution . By Beta-binomial conjugacy, after observing heads the posterior is
The Bayes estimator under squared error loss is the posterior mean, hence