Poisson binomial distribution 2026-10-14
The sum of independent Bernoulli random variables with possibly unequal success probabilities has a Poisson binomial distribution. Its probability generating function is : expand the product to read off the probability mass function. Linearity of expectation and additivity of variance for independent random variables give and . Equal recover the binomial distribution.
For three trials with success probabilities , expanding gives masses at . Their expected value is and variance is . Replacing all three success probabilities by their average preserves the expected value but gives binomial distribution variance , so it does not preserve the law.
Let be a nonnegative integer-valued random variable with finite expected value , and independently label each of its items with either of two equally likely labels. If the two resulting counts are independent random variables, then has a Poisson distribution. Indeed, its probability generating function obeys . With , iteration gives . Finite expected value gives , hence and . Conversely, Poisson thinning produces independent Poisson distributions for the two counts.
Poisson count change-point model with gamma priors Created 2026-10-14 Updated 2026-11-05
For independent Poisson distributions with rate up to an unknown index and rate after it, independent shape-rate Gamma distribution priors give the displayed posterior distribution when is uniform on and . The model differs from a continuous-time Poisson change-point posterior. The endpoint represents no observed change: the second segment is empty and its rate keeps its prior law.
Poisson process Created 2026-09-24 Updated 2026-10-14
A Homogeneous Poisson process models arrivals at a constant rate . Its counting process counts arrivals in , with . Its paths are right-continuous nondecreasing functions, take nonnegative integer values, and have unit jumps almost surely. The defining Poisson distribution of each increment isIt has stationary increments: the probability distribution above depends on the duration , not the starting time . It also has independent increments: counts in any finite collection of disjoint time intervals are independent random variables. Together these conditions specify the joint count laws, not merely the Poisson distribution at a single time.[ref]
Poisson Processes (Chapter 2). pp. 78-79: counting-process definition and its equivalence to exponential interarrival times
The rate has units of arrivals per unit time; is dimensionless. The Poisson distribution givesFor a toy rate per minute and a duration of minutes, the expected value and variance of the count are both . The probability of no arrival is , and the probability of exactly three is . In two consecutive one-minute intervals, the probability of exactly two arrivals in the first and exactly one in the second is , using independent increments. These are exact model calculations with rounded decimals, not measured frequencies.
Synthetic arrival times and their right-continuous counting path, compared with the exact mean at two arrivals per minute
. Details. The diagram's nine hand-chosen arrivals illustrate a path; the line is an expected value, not a prescribed trajectory. Constant rate does not imply evenly spaced arrivals. Poisson interarrival times connect the count description to waiting, while Poisson thinning explains how independently routing arrivals produces separate streams. This makes the Poisson process useful as a simple arrival model for a queue, provided constant rate and independent increments are plausible. For a deterministic changing rate, use an Inhomogeneous Poisson process; bunching or history-dependent arrivals need additional assumptions. Conditional on , the arrival times are the order statistics of independent uniform distributions on , as developed in Poisson process conditional arrival times.
Positive covariance 2026-11-05
Two random variables have positive covariance when their centered product has positive expected value:Assume throughout that their second moments are finite. Outcomes where the centered values have the same sign contribute positively; opposite signs contribute negatively. The sign describes their average balance, rather than requiring every outcome to have matching signs.[ref]
Covariance and Correlation by Jeremy Orloff and Jonathan Bloom. §§2–2.1, definition and properties of covariance
A shared group effect can produce positive covariance even when the relation inside each group runs in the opposite direction. For an exact original example, let and be independent random variables with the Rademacher distribution: each takes the values with equal probability. Define and . Both expected values vanish, and independence givesTheir Pearson correlation coefficient is consequently . The four equiprobable outcomes are , , and .
For either fixed value , however, . Thus the conditional covariance is , and the conditional Pearson correlation coefficient is : the two points inside each group lie on a descending line. The law of total covariance identifies exactly where the positive pooled value comes from:The first term averages the conditional covariances; the second measures how the two conditional expectations move together across groups. Here the between-group contribution outweighs the negative within-group contribution. This is a covariance form of Simpson's paradox.
The dashed linear regression line has slope , but that slope does not give the direction of the relation at fixed . Nor does positive covariance by itself establish a causal effect: in the specified model the common variable supplies the positive component. Choosing which variables to condition on is a question about the model and the intended comparison, beyond computing one number.
Positive covariance is also weaker than requiring one variable to be an increasing function of the other. Under appropriate integrability assumptions, strict positive covariance with an increasing payoff supplies a useful sufficient condition; the grouping example shows a different route to the same sign.
Positive difference of independent exponential waiting times Created 2026-10-18 Updated 2026-11-05
Let be independent random variables with exponential distributions of respective positive rates . Condition on and use the survival function of :At this is . Dividing by that probability proves that the positive difference conditional on again has an exponential distribution with rate . The memorylessness of the exponential distribution persists after an independent competing event has already occurred. Replacing the difference by a negative sentinel when adds an atom of a measure of mass at that sentinel without changing the positive tail.
Power of a two-sample rare-event comparison Created 2026-10-14 Updated 2026-11-05
For two independent samples of size with event probabilities , put , , and . The normal approximation to a two-sided level- test has powerFor rare events, independent Poisson distributions approximate the counts. Conditional on their total, the null count allocation is binomial distribution with probability one half; under the alternative the allocation probability is . Averaging its exact rejection probability over the alternative total supplies a discrete power calculation.
// Target: probability-theory.bigb
For nonnegative integer-valued independent random variables , factor the expected value of a product:The Cauchy product explains what this means for individual probability masses:Every way of splitting the total contributes once. This is convolution of independent random variables; multiplying probability generating functions performs the bookkeeping automatically.
For an original example, take independent and , using the Bernoulli distribution and binomial distribution. ThensoDirect enumeration of the six pairs gives the same probability masses. For example, total one collects and , with contributions . The coefficients sum to one. The expected value is ; since , the variance is , agreeing with .
Uncorrelated random variables are insufficient for the product identity. For a concrete counterexample, let be uniform on and set , . Then , but , whereas . Zero covariance controls one mixed moment, not the full joint probability mass function.
Probability theory Created 2026-09-24 Updated 2026-10-18
Probability theory describes uncertainty through a probability space: possible outcomes form a sample space, observable questions are events, and a probability measure assigns them numbers between zero and one. The Kolmogorov axioms make those assignments consistent. They let us combine information about several events, update it through conditional probability, and study random variables without listing every possible outcome separately.
For example, roll two dice whose results are independent random variables, each with a discrete uniform distribution on . There are 36 equally likely ordered outcomes. Only have sum seven, so that event has probability . The sum itself is not uniformly distributed: sum two has only one outcome. Choosing a probability distribution for the elementary outcomes is part of the model; equal likelihood does not follow merely from counting the named possibilities.
The subject becomes especially useful when complete outcome lists are enormous or infinite. Independence turns a joint calculation into simpler pieces, expected value summarizes a random variable, and the law of large numbers explains how averages can become predictable even when individual observations are uncertain. The central limit theorem describes the scale and shape of many remaining fluctuations. These are distinct claims: a small variance of an average does not make every observation close to its expected value.
There is a satisfying unity here: dice, hidden causes, and Brownian motion all use the same rules for events and conditional probability. A model still needs justification. Its exact deductions describe what its assumptions imply; comparison with observations belongs to statistical inference.
Product large-deviation principle 2026-10-14
Suppose and are independent random variables in Polish spaces, each satisfying a large deviation principle at speed , with good rate functions and . Their pair has good rate function . On open rectangles, independence makes the logarithmic lower bounds add. For the upper bound, the marginal families are exponentially tight, and so is their pair. Cover a closed set intersected with the product of the two compact containment sets by finitely many small rectangles and add the corresponding local upper bounds. The finite union bound and then increasing the containment level give the closed-set bound. Goodness follows because is closed inside .
For independent random variables with the uniform distribution on , use the probability density of a product of random variables and integrate over . The displayed probability density function is zero off and has integral one. More generally, for independent and identically distributed factors with this uniform distribution, satisfiesThe expectation of a product of independent random variables proves these identities directly.
Product stationarity under single-coordinate Markov updates Created 2026-10-14 Updated 2026-11-05
Let be a Markov kernel with Stationary distribution on one coordinate. On coordinates, update coordinate with kernel while leaving the others unchanged. The product distribution is invariant: its updated coordinate still has law , and independent transition randomness leaves it independent of the untouched coordinates. Choosing the updated coordinate independently of the current configuration, with any fixed selection probabilities, forms a mixture of these invariant kernels and preserves the same product law.
For a two-state kernel with and , the stationary Probability of state one solves . If , thenUnder the product stationary distribution, the occupied-coordinate count has binomial distribution with parameters , mean and variance . In the exceptional case , the kernel is the identity and every is stationary; the displayed fraction is undefined and must not be used.
State-dependent coordinate selection can invalidate the conclusion. On two bits, let each single-coordinate kernel refresh to a fair bit, but select coordinate one whenever its current value is zero and coordinate two otherwise. Starting with independent fair bits, the Probability that the first bit equals one after a step is , so the uniform product law is not invariant. Invariance of each coordinate-update kernel alone is insufficient when the mixture weights depend on the state.
Let be a nonzero multivariate polynomial over a field , with total degree at most . Choose a nonempty finite set . For independent random variables , each with a uniform distribution on a finite set on , the Schwartz-Zippel lemma givesNonzeroness is essential; the zero polynomial always evaluates to zero. The total degree sums exponents within each monomial, rather than taking their maximum: has total degree five. The field need not be finite, but must be finite. The estimate reduces error only when .[ref]
CMPT 710 - Complexity Theory: Lecture 18. CMPT 710 and CMPT 407 - Computational Complexity - Fall 2007; CMPT 710 - Complexity Theory: Lecture 18, §3.1, pp. 3–4: Lemma 4 and its inductive proof
The proof begins with the root bound for a polynomial. For several variables, write , with . The total degree of is at most . By induction, vanishes with probability at most . Otherwise the remaining univariate polynomial has at most polynomial roots. Adding the two contributions gives .[ref]
CMPT 710 - Complexity Theory: Lecture 18. CMPT 710 and CMPT 407 - Computational Complexity - Fall 2007; CMPT 710 - Complexity Theory: Lecture 18, §3.1, pp. 3–4: split by the leading coefficient in the last variable
The algorithm samples a point, performs exact polynomial evaluation, rejects the identity if the value is nonzero, and otherwise accepts. The lemma bounds false acceptance for every fixed nonzero input. For the polynomial identity testing over a finite field example, has and , so its exact error attains the bound. Numerical near-zero values from floating-point arithmetic do not satisfy this exact algebraic contract. A polynomial-time algorithm claim additionally needs efficient sampling and evaluation, including the bit cost of representing and operating on field elements. Counting field operations alone does not establish that cost.
Random measurement error Created 2026-10-20 Updated 2026-11-05
A component of measurement error fluctuating between repetitions under specified conditions, as distinguished from a shared systematic error. Independent zero-mean fluctuations of variance give a sample-mean variance ; correlated fluctuations need not follow this averaging law.
Random variable Created 2026-09-24 Updated 2026-10-14
A real-valued random variable is a measurable function from a probability space to the real numbers with their Borel sigma-algebra. More general targets give random elements. For every Borel set , measurability ensures that is an event, so the question "does the observed value lie in ?" has a defined probability.
The function is fixed; its input outcome is uncertain. This separates what we measure from how the uncertainty is modeled. A probability distribution is the resulting pushforward measure, . A cumulative distribution function, probability mass function, or probability density function describes that measure in an appropriate setting. The random variable and its probability distribution are different objects: the former also retains its relationship to other measurements on the same sample space.
For two independent uniform dice, let record their results and define and . The 36 ordered pairs are equally likely, but the resulting probability mass functions differ:For the sum, count the diagonal of the outcome grid having total . For the maximum, subtract the pairs with both results below from the pairs with both results at most . These examples show how a deterministic function transforms a simple input probability distribution into a nonuniform output one.
The corresponding expected values are and . The first follows immediately from linearity of expectation; the second follows from . Neither number must be an attainable result. An expected value describes an average under the probability measure, not a prediction that the next observation will equal it.
The distinction between a random variable and its probability distribution matters for dependence. and have the same discrete uniform distribution and are independent random variables. and a second copy of also have that same marginal probability distribution, but they always agree. Their joint probability distribution is concentrated on the diagonal; the marginals alone cannot say which relationship holds. This is why a model for several measurements must specify their joint law or an appropriate independence assumption.
Indicator random variables turn events into numbers: equals one on and zero elsewhere, and . This connects event counting with expected value and variance, and lets tools for random variables answer questions about probabilities. More complicated functions of observations can describe totals, waiting times, or estimation errors using the same framework.
Range-conditioned uniform location inference Created 2026-10-14 Updated 2026-11-05
For independent observations uniform on , let and be the sample minimum and maximum, , and . For their joint probability density function in is on , . Integrating over gives , independent of , so is an ancillary statistic. Moreover is uniform on . Consequentlyis an exact conditional confidence interval for . The realized range determines the appropriate precision, although the range is not itself evidence about the value of .
Rao-Blackwell estimator after interim selection Created 2026-10-06 Updated 2026-11-05
For two independent stage means and continuation , let and . The second-stage mean is conditionally unbiased. The Rao-Blackwell theorem gives , using and truncation. This is a conditionally unbiased estimator using both stages through their combined sample mean.
Rao-Blackwell estimator for a uniform scale interval Created 2026-10-14 Updated 2026-11-05
For independent uniform random variables on with , the sample minimum and maximum form a sufficient statistic. Conditional on these endpoints, exchangeability and the uniform law of the remaining observations give . Applying the Rao-Blackwell theorem to gives the displayed unbiased estimator. Its variance is , compared with for .
Rao-Blackwell estimator of a geometric failure probability Created 2026-10-14 Updated 2026-11-05
For independent geometric observations with mass on , where , the total is sufficient. Conditional on , positive-integer compositions are uniformly distributed. The indicator is unbiased for , and conditioning it on gives . For one observation, use instead, including its zero value at .
Rao-Blackwell estimator of a squared normal mean Created 2026-09-24 Updated 2026-11-05
For independent , the unbiased estimator of has mean square error . Conditioning on the Sufficient statistic giveswhose mean square error is .



