Write , with the natural logarithm. The likelihood function and log-likelihood function are
The score function is and the second derivative is . Thus the log-likelihood function is strictly concave, its stationary point is the unique global maximum, and the maximum-likelihood estimator is
The one-observation Fisher information is . The support of a probability distribution here is independent of , so the regular asymptotic normality of a maximum likelihood estimator gives
There is also a direct check: has an exponential distribution with rate , since for . Its mean and variance are and . Apply the central limit theorem to and the delta method to to obtain the same result.
Implement the Bernoulli distribution, taking special care that a zero-mass outcome is excluded from the support of a probability distribution:
class Flip(p: Double) extends FiniteDist[Boolean] {
  require(!p.isNaN && 0.0 <= p && p <= 1.0)

  def getDom: List[Boolean] =
    if (p == 0.0) List(false)
    else if (p == 1.0) List(true)
    else List(true, false)

  def getProb(x: Boolean): Double =
    if (x) p else 1.0 - p
}
The precondition excludes NaN and all values outside , including infinities. The two masses are nonnegative and sum mathematically to one. Endpoint domains are singleton lists, while an interior parameter lists both outcomes exactly once. Treating getDom as always containing both Booleans would violate its positive-support contract at the endpoints.
Probability generating function of an independent random sum Created 2026-10-18 Updated 2026-10-25
Let be a nonnegative integer-valued random variable, and let be nonnegative integer-valued independent and identically distributed random variables, with common probability generating function . Require the whole sequence to be independent of , so are jointly independent. Set the random sum
with the empty sum equal to zero. Given , the probability generating function of an independent sum yields the conditional expectation . By the law of total expectation,
The composition is valid because . Merely making the independent of each other does not preserve their conditional laws when depends on them. This is the probability generating function version of transform composition for an independent random sum.
For a Poisson distribution count with mean , substitution into gives a compound Poisson distribution with
If the jumps have finite second moment, conditioning also gives mean and variance . The extra spread comes from randomness in the count as well as randomness in the jumps.[ref]
For an original example, choose and jumps taking values one and two with equal probability. Keep the independence assumptions above. Then
Here , , and . The law of total expectation and law of total variance give
Thus the aggregate is not itself a Poisson distribution, whose mean and variance would coincide.
To recover the probability mass function without repeated differentiation, use and compare coefficients:
For example, . As an independent check, expanding gives
Figure 1.
A random number of one-or-two jumps gives a compound Poisson count
. The upper diagram separates the Poisson distribution count, the independent and identically distributed jumps, and their random sum. Below are calculated coefficients of for , with the omitted tail probability reported explicitly. They are exact model probabilities evaluated numerically, not observed data; the displayed masses have not been renormalized. Details.
The plotted probability masses stop at 20, although the support of a probability distribution is unbounded. The omitted tail probability is
This model has bounded jumps and an unbounded count. Its entire probability generating function does give a finite moment-generating function at every real argument, but the general random sum composition only guarantees the stated domain.
Product of finite probability distributions Created 2026-10-31 Updated 2026-11-05
Given two finite probability distributions, assign the product of their probability masses to each ordered pair. The support is the Cartesian product of the two positive-mass supports. Distributivity gives . This is the joint distribution for independent coordinate outcomes; it is a construction from the marginals, not a claim that arbitrary jointly observed coordinates are independent.
Quantile derivative identity Created 2026-10-06 Updated 2026-11-05
If is the quantile function of an absolutely continuous probability distribution with probability density function , then for almost every . Gaps in the support may give jumps in , so the identity concerns its ordinary almost-everywhere derivative. It follows by differentiating the inverse relation to the cumulative distribution function.
For , put probability mass at zero and at each of and . This symmetric probability distribution has mean zero. Its second and fourth moments are both , because the nonzero outcomes have square and fourth power equal to one:
For the kurtosis is ; for it is . In the latter case of the probability mass is at zero, yet all of the fourth central moment comes from the remaining . The standard score takes values and , with variance one. Each nonzero outcome contributes
to kurtosis. At , the two rare outcomes are ten standard deviations from the mean, and their contributions are .
Figure 1. . The left panels keep the original support of a probability distribution ; the right panels use standard scores. A rare outcome can have small probability mass but a large contribution to kurtosis. Each row is a different specified probability distribution, not a statistical sample. Details.
Every member has finite support of a probability distribution, so all its moments are finite. Nevertheless, kurtosis becomes arbitrarily large as approaches zero: high kurtosis does not require an unbounded support of a probability distribution or a heavy-tailed distribution. At the variance vanishes and kurtosis is undefined. At this discrete probability distribution even has the normal distribution value and excess kurtosis zero, so those values do not establish a normal distribution.
Robust linear constraints for bounded covariance models require a linear inequality to hold for every error state admitted by the selected bounded model. A covariance matrix fixes second moments; the robust guarantee additionally depends on the support of a probability distribution or other specified uncertainty set. This distinction matters when a physical limit must never be crossed within the model.
Let as in finite-support realization of a covariance matrix, where all coordinates of are independent fair signs. Then . For nominal input , require for every sign state. Writing , direct minimization gives
Each sign can independently oppose its coefficient, including when some coefficients vanish. Thus the exact necessary and sufficient condition is , using the L1 norm. The same extremum holds over the full box because a linear function attains an extreme at a vertex. This is a support function calculation in robust optimization; the general worst-case formulation and its dependence on the uncertainty set are illustrated in the primary optimization text.[ref]
For an original two-input example in volts, let and , with independent fair signs . The covariance matrix is . To keep the actual first input at least as large as the second, let the nominal difference be . Then
A nominal difference of fails in the state , despite being positive nominally. A difference of leaves a guaranteed margin under this model. Using only the separate bounds , would demand , because that larger box admits joint states the sign model forbids.
The standard deviation of is instead . It is not the hard bound . A different bounded law with the same covariance matrix can change the hard bound, as nonuniqueness of bounded uncertainty laws with a fixed covariance explains. For several linear inequalities, apply the support calculation to each row. This verifies an assumed model's feasible states; it does not establish that the chosen support contains every error of an actual instrument.
Let the numerical support of a probability distribution be . Its cumulative distribution function counts how many values have been passed:
It is zero below , equals on for , and is one at and above . Every jump is , even when the horizontal gaps differ.
For inverse transform sampling, take an ideal continuous uniform distribution for on . Partition that interval into intervals of width and output
Each interval has probability , proving the desired discrete uniform distribution. Using the floor function, the index is ; for consecutive integer values the output is . With the usual quantile function convention , one instead writes for , using the ceiling function. The endpoint conventions differ only at a finite set of points with probability zero under the ideal continuous uniform distribution.
For , the four intervals , , , and select , respectively. Thus selects , while selects . The upper half of the interval selects values at least four, recovering probability . Equal widths refer to the sampling probability coordinate, not to distances between output values. This is an exact mathematical construction assuming an ideal continuous uniform distribution; a finite computer random-number source needs its own justification of equal output chances.
Shifted lognormal distribution Created 2026-10-07 Updated 2026-11-05
The support is and the probability density function is
The change of variables proves normalization. The threshold is a lower endpoint, distinct from the log-mean and log-standard-deviation . In measured sea-ice pressure ridge spacings, finite ridge widths and detection rules can create such a lower endpoint.
Simple random walk on the integer line Created 2026-09-24 Updated 2026-10-14
A simple random walk on the integer line starts at and takes independent and identically distributed random variables as unit increments, with
The simple symmetric random walk has ; a biased random walk has . At or every step is deterministic, giving or respectively.
Count the rightward steps using indicator functions:
Thus the endpoint is a shifted and rescaled random variable with a binomial distribution. For a worked example, at the endpoint means exactly three rightward steps and one leftward step. There are possible orders, so its probability is , equal to in the fair case. More generally the binomial coefficient counts the orders, giving the exact probability mass function
In particular, the endpoint must have the same integer parity as : . For the support of a probability distribution is exactly . At only even integers in are reachable; at only odd integers are reachable. This restriction is easy to lose if one draws a smooth curve instead of discrete probability masses. The fair-walk counting argument is also presented in Grinstead and Snell, Introduction to Probability, section 12.1.
Figure 1.
Exact binomial endpoint probabilities for fair walks of 20 and 80 steps and a biased walk of 80 steps; only even endpoints are possible.
Details.
The endpoint identity and the binomial distribution give the expected value, variance, and standard deviation
A short direct check gives and , hence . Then apply linearity of expectation and the variance of a sum of independent random variables.
The absolute width and the width relative to the number of steps answer different questions. In the fair case the standard deviation grows from to , while shrinks from to . At , the standard deviation is , or times the fair width, and . Centering and dividing by each walk's own standard deviation gives, for ,
This rescaling equalizes the variances, not the entire probability distributions. The spacing between reachable endpoints is two, so its rescaled spacing is : approximately for the fair -step walk, for the fair -step walk, and for the biased -step walk.
The positions themselves are dependent. For , , where the second term is independent of . Their covariance is therefore
For example, in the fair case allows or , whereas allows or . Nevertheless the position process is a Markov chain: given its current position, the next fresh increment has no dependence on its past. Its transition probabilities are
These transition probabilities are the same at every time and every integer position: shifting both and by the same integer leaves unchanged. Thus the Markov property and independent increments coexist with dependent positions.
Smoothing bandwidth Created 2026-10-05 Updated 2026-10-14
A smoothing bandwidth determines the scale over which a regression kernel averages data, or a kernel for density estimation spreads each observation. It has the same units as the observations. In kernel density estimation, changing changes the visible detail while preserving the total integral one. For a Gaussian density kernel, each bump has standard deviation and its individual contribution has peak height .
If the smoothing bandwidth is too small relative to the spacings in a statistical sample, the kernel density estimator shows narrow spikes tied to individual observations: apparent peaks may be sampling accidents. If it is too large relative to features of the unknown probability density function, it blurs distinct groups together and spreads fitted probability far from the observations. An intermediate smoothing bandwidth can reveal broad structure, but visual smoothness alone cannot establish accuracy.
Figure 1.
The same sample at three Gaussian bandwidths, and leakage below zero for a separate positive sample
. Details.
The first three panels use exactly with smoothing bandwidths , and , respectively. Every curve has area one; the two groups in the observed statistical sample become less distinct as increases. No true probability density function is specified in this illustration, so the middle panel is illustrative, not a certified optimal fit. The fourth panel uses and to illustrate boundary bias of a kernel density estimator.
For a fixed nonnegative kernel for density estimation with finite squared integral, a probability density function that is bounded and continuous at an interior point with , and a deterministic sequence , the pointwise sampling variance obeys
Thus decreasing the smoothing bandwidth increases the leading sampling variance while reducing interior smoothing bias of an estimator: this is a bias-variance tradeoff. The conditions and express two goals, increasingly fine resolution and enough observations contributing locally. Practical methods such as plug-in bandwidth selection use the data to choose ; pointwise optimal kernel bandwidth depends on local features of the unknown probability density function. The smoothing bandwidth remains a tuning choice in nonparametric statistics, and knowing the support of a probability distribution can require more than a width adjustment near a boundary.
Spectral survival criterion for multitype Poisson branching Created 2026-10-14 Updated 2026-11-05
This criterion holds even for reducible nonnegative matrices. If a fixed point exists, for gives on its support. Some therefore satisfies , forcing the spectral radius above one by the Perron–Frobenius theorem. Conversely take , , with and . For sufficiently small , . Thus is a subsolution; monotone iteration under gives a nonzero nonnegative fixed point below . Strictness of excludes survival at the critical value for this Poisson offspring law.
For a finite-dimensional random vector , let be the closed cone generated by the support of a probability distribution of . Every integrable strictly positively weighted barycentre lies in the relative interior of : every nonzero supporting functional on its span is positive on a set of positive probability. Conversely, put and . Its dual cone equals that of , so and . For , subtract a sufficiently small positive multiple of and represent the remainder using ; adding the constant positive weight back gives .
Subexponential distribution (heavy-tailed) Created 2026-10-14 Updated 2026-11-05
For nonnegative independent and identically distributed random variables with unbounded support, this is the displayed two-summand tail asymptotic. The probability that the maximum exceeds is , so the sum and maximum have asymptotically the same tail. This is the basic single-large-arrival effect relevant to queue overflow. The concentration-theory sub-exponential random variable uses a separate light-tail convention.
Support of a probability distribution Created 2026-10-06 Updated 2026-11-05
For a probability measure on a topological space, its support is
A point belongs to the support when observations can fall arbitrarily close to it with positive probability. This is a neighbourhood condition, not a requirement that the point itself have positive probability mass or that a chosen density be positive there.
For the uniform distribution on viewed as a law on the real line, the support is , including both endpoints. A density on vanishes at zero, but zero still lies in its support because every open neighbourhood of zero has a positive integral of . A discrete distribution with mass at , , likewise has zero in its support despite assigning it probability mass zero.
If a distribution's support equals an interval, every open subinterval of that interval has positive probability. The weaker condition does not imply that the support equals : a uniform law on also assigns probability one to , but assigns zero to its subinterval . This distinction matters when using support to describe feasible observations or randomized effort in a contest.
Two-step catalytic waiting time Created 2026-10-25 Updated 2026-11-05
The convolution of two independent sequential exponential waiting times has the displayed normalized probability density function and mean . At equal rates its limit is . A measured probability density function of this form supports a multistep kinetic mechanism without uniquely identifying its hidden chemical intermediates.
Upper-endpoint estimation in a truncated distribution Created 2026-10-14 Updated 2026-11-05
For a positive continuous density with strictly increasing cumulative distribution function , observations from its upper-truncated law have likelihood on . Holding fixed, decreasing toward increases the likelihood; taking a supremum over preserves nonincreasing dependence on . Provided the nuisance fit is finite, the usual closed-support endpoint estimate is . With the literal open support , only a limiting supremum need exist. A sample maximum is not a validated bound for future observations, and support depending on a parameter prevents automatic application of Wilks theorem.