Success-failure stopping identity Created 2026-10-18 Updated 2026-10-20
In independent Bernoulli trials with success probability and failure probability , let be the trial of success and the trial of failure , for positive integers . If success occurs after failures, its final trial is a success and the preceding trials have successes and failures. The negative binomial stopping argument therefore gives the title sum.
Put . By trial , at least one target must have been reached, so the same event is that a binomial distribution with trials has at least successes. Conditioning instead on the final trial of a block of trials givesIndeed, more than successes in the full block guarantee the success target won; with exactly successes it won only when the final trial was a failure. These disjoint cases explain the extra boundary term. A zero success target wins immediately; a zero failure target has already been reached. To include in the displayed finite sum requires the explicit generalized convention ; an upper summation limit of denotes an empty sum.
Synaptic vesicle 2026-10-14
A synaptic vesicle is a small membrane-bounded compartment in a presynaptic terminal that stores neurotransmitter for release. Fusion with the cell membrane exposes its contents to the synaptic cleft; the packet supplied by one synaptic vesicle is a quantum of release. Quantal neurotransmitter release refers to these discrete packets, rather than the release of one molecule at a time. The postsynaptic response to a packet can vary with its contents, receptors and recording conditions. See Purves and colleagues: vesicles as the source of transmitter quanta.
The useful cycle is filling, preparation for fusion, calcium-triggered exocytosis, and recovery of membrane and proteins through endocytosis for reuse. Different recovery routes occur; recycling need not preserve a particular synaptic vesicle as an identifiable container throughout. Limited availability of prepared synaptic vesicles can reduce release during repeated stimulation, while changes in synaptic release probability can also change successive responses. See Basic Neurochemistry: secretion machinery and vesicle reuse and 3.1 Synapses.
For an illustrative calculation, assume four release sites, each with one prepared synaptic vesicle, each releasing with synaptic release probability during one presynaptic action potential. Assume independent Bernoulli trials and at most one release per site. The released packet count has a binomial distribution:The probability of no release is ; at least one release has probability . An expected value of one packet does not mean that every action potential releases one packet. If each packet contributes a stipulated conductance increment and increments add, the expected value of that increment is , with zero increment on about of trials. These assumptions are a teaching model: shared calcium fluctuations, unequal sites, depletion and nonlinear receptor responses can invalidate them.
Let be independent random variables, each with the Bernoulli distribution of parameter , and let . Multiplying their characteristic functions and expanding by the binomial theorem givesThe coefficients are exactly the probability mass function of the binomial distribution with parameters : the sum takes with probabilities . Direct outcome counting verifies them: an outcome with ones has probability , and there are such outcomes. The coefficients sum to one, recovering .
At , . This is also : the complex exponential now records parity. The moments agree by two routes: linearity of expectation gives , while the variance of a sum of independent random variables gives . Summing gives the second moment , also recovered as .
Threshold inference for a mixture proportion 2026-10-14
For a two-component mixture model with known component tail probabilities above a threshold, the overall probability is . An empirical exceedance fraction gives the displayed method-of-moments estimate when . Under independent observations, the exceedance count has a binomial distribution, and its constrained maximum-likelihood estimate is the same expression clipped to . Equal component tail probabilities make this summary uninformative about .
Tie probability for independent binomial counts Created 2026-10-20 Updated 2026-11-05
For independent random variables with the same binomial distribution , partition the tie event into the mutually exclusive events . independence makes each probability the square of its binomial probability, proving the formula. At , Vandermonde's identity gives . Symmetry under exchange of the two variables then gives .
Transient distribution of an M-M-infinity queue Created 2026-09-24 Updated 2026-11-05
If and , thenwith independent summands. The binomial term counts surviving initial customers; Poisson thinning gives the surviving later arrivals.
For independent aggregate Poisson distributions with means and , conditioning on the total eliminates . Independent Poisson conditioning gives the displayed binomial distribution. Its conditional likelihood is proportional to , also the profile likelihood after maximizing over the unrestricted positive baseline rate. Unequal exposures replace the binomial success probability by .
Two-species uniform boson number state Created 2026-10-25 Updated 2026-11-05
Two independent boson species occupy uniform single-particle modes on sites, with fixed occupation numbers . This differs from a fixed-number two-mode condensate whose particles all occupy one superposition of the two modes. Here , , and the local total number operator has variance . The latter follows from two independent binomial distributions with success probability . This state satisfies a prescribed Schwinger boson constraint only in the mean unless the local variance vanishes.
Typical-set concentration for a biased coin 2026-10-14
The count has binomial distribution with mean and variance . The information content per symbol is an affine function of , so its variance isChebyshev's inequality therefore gives the finite-sample lower boundThe bound is often loose, but it proves that every fixed positive tolerance eventually captures nearly all the probability. Direct summation of the binomial distribution's probability masses gives . A finite sample does not need to have a nearly full typical set: the 40-symbol example above captures only about .
Longer biased-coin messages concentrate in typical sets with controlled size
. The left plot compares exact typical set probabilities with the lower bound from Chebyshev's inequality. The right shows and its finite-sample bounds. The tolerance stays fixed; the curve is not asserted to converge to exactly . All points are exact finite-model calculations. Details. Uniform-alternative binomial Bayes factor Created 2026-10-14 Updated 2026-10-25
For a binomial distribution count, compare a point null with the uniform alternative prior distribution on . The alternative Bayesian model evidence isso the exact Bayes factor favouring the point null is . With standardized deviation , the local normal distribution approximation is . At fixed the frequentist p-value remains approximately constant, while the factor grows like . This demonstrates the prior-width mechanism behind the Jeffreys-Lindley paradox for a Gaussian point null in a discrete sampling model.
For a separate original example, change the point null to and take to have a uniform prior , fixed before the ten Bernoulli trials. Here is drawn once under and shared by all ten trials: they are independent conditional on . For one particular ordered sequence with eight heads and two tails, the Euler beta function givesThus the Bayes factor for the uniform alternative against the point null isThe binomial distribution count formulation gives and . Their ratio is again ; these count masses must not be combined with the ordered-sequence masses above. The general formula at the start of this article puts the point null in the numerator, so it equals here.
In contrast, maximum likelihood estimation gives : differentiating the log-likelihood yields , and the endpoints have zero likelihood. Its peak-to-null likelihood ratio isThis peak is chosen after seeing the data, so it is not the Bayes factor of the prespecified . The Bayesian model evidence for averages over its entire uniform prior; it is smaller than the peak. It is also smaller than . Against the same null, a point alternative fixed at would give a Bayes factor about , greater than . An integrated alternative need not outperform a point alternative.
For a general proper beta distribution prior distribution with , the same ordered-sequence marginal likelihood is . This follows by substituting the normalized prior density into the integral, and shows exactly where the parameter prior distribution changes the Bayes factor. Holding the parameter prior distributions fixed while changing model prior odds leaves that Bayes factor unchanged.
Uniform balls-in-bins allocation Created 2026-10-06 Updated 2026-11-05
Place labelled balls independently into labelled bins, each with probability . The vector of bin counts has a multinomial distribution, and each count separately has the binomial distribution . Distinct bin counts have covariance , so they are dependent for and . Counts of bins of a specified size are sums of indicator variables; their expectations follow from the linearity of expectation, without any independence between bins.
Uniform half-circle balance for independent Bernoulli variables Created 2026-10-31 Updated 2026-11-05
Let be even and let be independent Bernoulli variables with parameter , arranged on a circle. The probability that some consecutive half-circle has is at most . For a fixed , the variable has the binomial distribution , and the signed imbalance is . Apply Hoeffding inequality to this single binomial variable, then take a union bound over the at most intervals. Consequently suffices for uniform balance with probability tending to one whenever .
Uniform labelled tree generation 2026-10-14
For , choose independent random variables, each with the uniform distribution on a finite set , and decode their values as a Prüfer sequence. Every sequence has probability , and the bijection gives each labelled tree the same probability. This produces a uniform spanning tree of the complete graph without repeatedly proposing sets of edges and rejecting those that fail to be trees. It supplies random inputs for testing implementations of breadth-first search and a tractable model of random connections. [ref]
https://sites.math.rutgers.edu/~zeilberg/Combo20/hw.html. Doron Zeilberger, Rutgers Math 454 (2020), Lecture 23: generate random labelled trees by sampling and inverting Prüfer codes
This distribution is uniform over fixed-label trees, rather than over unlabelled trees. With four labels, the star graph shape has probability and the path graph shape has probability . Also, for a fixed label , the Prüfer degree formula givesHere the binomial distribution counts the independent code positions equal to . The expected value agrees with the average vertex degree from the degree-sum formula. Individual labels have the same distribution by symmetry, though their vertex degrees are constrained together by their fixed sum. When , simply return the single isolated vertex.
Uniform order statistic Created 2026-09-28 Updated 2026-10-14
For independent and identically distributed random variables with the continuous uniform distribution on , the th order statistic has Beta distributionIts probability density function, mean, and variance areThe probability density function is zero outside ; values assigned to its endpoints do not change any probability. Peter Kempthorne's MIT lecture notes derive the uniform order statistic law and these moments. [ref]
https://ocw.mit.edu/courses/18-443-statistics-for-applications-spring-2015/06daf6d78e7eb0465d6bb53e8f96b2ff_MIT18_443S15_LEC11.pdf. Peter Kempthorne, MIT 18.443, Lecture 11, slides 12–14
.For , the minimum, sample median, and sample maximum correspond to . Their probability density functions are , , and , respectively. The sample median therefore has Beta distribution , mean , and variance . Its cumulative distribution function isFor instance, . The mean of the minimum is , and the mean of the sample maximum is . The fixed observed sample median in the order statistic example is one possible outcome; is the average over repeated statistical samples from this uniform distribution.
Each curve has area one. The extreme order statistics favor the ends, while the sample median favors the center. The endpoint density height is legitimate: the probability density function gives area per unit length, rather than point probability. In particular, a continuous uniform distribution has zero probability of producing an endpoint.
For a short proof, the binomial distribution counting identity under order statistic gives . Taking its derivative cancels consecutive terms, leaving the displayed probability density function. Recognize its normalizing factorial coefficient as that of the Beta distribution, then substitute , into the Beta distribution mean and variance formulas. Although the original observations are independent, their order statistics generally are dependent; see the positive covariance of two uniform order statistics.
Uniform prior Created 2026-10-05 Updated 2026-10-14
A uniform prior on a finite-volume parameter region assigns constant probability density there and zero outside. On it is , giving a beta distribution posterior after binomial distribution data. Uniformity depends on the coordinate: a nonlinear reparametrization introduces a Jacobian and generally does not preserve a uniform density.
Uniform random graph process 2026-10-07
Start with the empty graph and reveal the edges of the complete graph in a uniformly random order. After steps its edge set is a uniform -element subset. Independent uniform edge labels couple this process with all binomial random graphs: , where has a binomial distribution with parameters . For a monotone graph property, concentration of transfers a threshold estimate between edge probability and edge count.
Weak law of large numbers Created 2026-09-24 Updated 2026-10-14
Let be real independent and identically distributed random variables with and expected value . The weak law of large numbers states that their sample mean has convergence in probability to : for every fixed ,Thus a large sample is unlikely to give an average with a specified fixed-size error. The strong law of large numbers makes the stronger statement of almost sure convergence along an entire sequence. Under the displayed assumptions both laws apply; their names distinguish the conclusions, not two competing predictions.
When the variance is finite, variance additivity for independent random variables gives . The Chebyshev inequality immediately supplies a useful quantitative form and a brief proof:For independent trials with a Bernoulli distribution of parameter , the expected value is and the variance is . At , the chance of an error of at least is therefore at most . The exact binomial distribution gives a much smaller probability, as the figure under the strong law of large numbers shows. The bound is conservative, but it is valid for every sample size under these assumptions and does not require a normal approximation.
The weak law of large numbers addresses a fixed tolerance . The central limit theorem instead resolves errors on the shrinking scale and gives their approximate normal distribution. In particular, the weak law of large numbers alone supplies neither a bell-shaped error law nor a universal rate of approach. For example, a Pareto distribution with minimum one and shape has expected value three but infinite variance: both the weak law of large numbers and strong law of large numbers apply, while the finite-variance statement of the central limit theorem does not.



