Inverting gives the quantile function
Consequently, inverse transform sampling uses with uniform on . The quartiles are , and .[ref]
The first and third quartiles are about and , so the central half of the probability spans about of the unit interval. Under a uniform distribution, its width would be .
The symmetric probability distribution gives . The angle representation gives a short calculation of the second moment:
Use to evaluate the integral. A uniform distribution on has variance ; the larger variance quantifies the greater spread toward the ends.
More generally, for a nonnegative integer , the beta function yields
For this is one; for it reproduces the values above. The central binomial coefficient thus appears in an exact moment calculation for a continuous probability distribution.
For fixed , a geometric mutation count in a coalescent epoch with mean has third moment . The centered absolute third moment is at most , so its sum is . The total variance is asymptotic to , making the Lyapunov condition with hold. Rescaling by the harmonic sum gives the displayed limit. At the estimator is identically zero and the limit is degenerate. The variance of the Watterson estimator decreases only logarithmically with sample size at a fixed nonrecombining locus.
Beta distribution Created 2026-09-24 Updated 2026-10-20
The beta distribution is an absolutely continuous probability distribution for a random variable between zero and one. It can describe uncertainty about a probability, such as an unknown coin's chance of heads. For any real , its probability density function is
and zero outside . The normalizer is the Euler beta function, related to the gamma function by the beta-gamma identity:
Thus the probability density function integrates to one. [ref].
The endpoint behavior explains why the restrictions are exactly : near zero the probability density function behaves like a constant times , and near one like a constant times . These improper integrals converge for positive parameters, even when the probability density function diverges at zero for or at one for . There is no probability mass at either endpoint: . A probability density function's height is not a probability; an interval's probability is the area under it.
Some useful examples of the beta distribution are:
Figure 1.
Beta density shapes: uniform, central, asymmetric, and boundary singular
. Details.
The arcsine distribution curve is plotted only for ; its finite plotted ends do not represent finite endpoint values of the probability density function. Using the inverse sine, the shaded central interval has exact probability , calculated analytically rather than by treating the cropped curve as normalized.
To separate location from spread, write and . The mean and variance of the beta distribution are
The mean specifies the balance between the parameters; their sum controls concentration about that mean. Multiplying both parameters by the same positive number preserves the mean and changes the variance. Larger puts more area near and makes the probability density function taller there; the total area stays one. Small allows much greater spread, sometimes favoring the endpoints rather than the mean itself.
For example, keeping mean and taking gives the beta distributions , , and . Their variances are , , and , respectively. Parameters need not be integers.
Figure 2.
The same beta mean with three concentrations and decreasing variance
. Details.
The formulas follow from two short moment calculations. Multiplying the probability density function by or increases the first parameter of the Euler beta function:
Apply the Gamma function recurrence to the beta-gamma identity, then subtract from to obtain the variance.
The beta distribution is especially convenient as a prior distribution for the unknown success probability of Bernoulli trials. The Beta-binomial conjugacy says that successes and failures update a prior distribution to a posterior distribution . For example, suppose a coin has prior distribution and we observe eight heads and two tails. Its posterior distribution is then , with posterior mean . [ref].
Cantelli inequality Created 2026-10-06 Updated 2026-10-14
Cantelli's inequality uses a mean and variance to control deviations in one specified direction. For a real random variable with expected value , finite variance , and ,
Applying the same statement to gives the lower tail probability bound . No independence or particular probability distribution is required. If , the random variable equals almost surely and both positive-threshold tail probabilities are zero.
For variance one and a threshold two above the mean, the upper-tail probability is at most . Applying the two-sided Chebyshev's inequality to contain that upper event would give the weaker bound . For the standard normal distribution, the actual upper tail probability at two is about , much smaller than either bound. Yet the two-point probability distribution in equality in Cantelli's inequality attains , showing why the smaller Gaussian value cannot be promised from these two moments alone.
Figure 1.
Cantelli's inequality sharpens a variance-only upper-tail bound and is exact for a two-point probability distribution
. Left: actual upper tail probabilities for the standard normal distribution are compared with Cantelli's inequality and the capped two-sided Chebyshev's inequality used as an upper-tail bound. Right: masses at and at two have mean zero and variance one. The upper mass is included by the non-strict threshold . These are specified mathematical models, not observations. Details.
A short explanation is to centre and choose a nonnegative shift . On , the square is at least , so Markov's inequality gives
The best shift is , giving the displayed bound. Choosing the shift before squaring exploits the direction of the deviation; squaring the unshifted random variable treats both directions together. This shifted-square proof is also the strategy requested in the University of Utah's 2005 qualifying problem on Cantelli's inequality. [ref].
The one-sided improvement should be used for a one-sided question. Adding upper and lower bounds by the union bound gives for . When , that is at least the Chebyshev's inequality bound ; when , both two-sided expressions exceed one and must be capped. The separate one-sided bounds generally cannot be attained simultaneously by the same probability distribution.
If is an integer and , the characteristic function has continuous derivatives through order , with
Thus finite absolute moments justify recovering moments from derivatives.[ref]
For a short justification of differentiation under the integral sign, the difference quotient for the st derivative has integrand . Its absolute value is at most , since for real . Lower absolute moments are finite because . Apply the dominated convergence theorem successively, then use the same integrable bound to obtain continuity of each derivative.
For the Bernoulli distribution with parameter , direct differentiation gives and , agreeing with . Its variance is therefore . Existence and continuity of a characteristic function alone do not authorize these moment calculations: the standard Cauchy distribution, whose expected value is undefined, still has a characteristic function. The stated finite absolute moment hypothesis is a sufficient condition for the derivative formula, not an assumption built into the definition of a characteristic function.
Characteristic function of a sum of independent variables Created 2026-09-24 Updated 2026-10-18
Independence makes the characteristic function of a sum equal the product of the individual characteristic functions.
For mutually independent random variables , write . Then
This is the expectation of a product of independent random variables applied to bounded complex exponentials; no moment hypothesis is needed.[ref]
Identical probability distributions are unnecessary. When the random variables are independent and identically distributed random variables, the product is . A deterministic rescaling also follows directly from the definition: for real . Consequently the sample mean has characteristic function , and a sum divided by has characteristic function .
The independence assumption does real work. Let take and with equal probabilities and set . Both characteristic functions are , but , not . At they give and zero respectively. Knowing the two marginal probability distributions does not determine the sum without their joint probability distribution.
Coefficient extraction recovers every probability mass:
Indeed, termwise differentiation of a power series is valid inside ; evaluating the th derivative at zero kills every term except . Thus two probability generating functions with the same coefficients describe the same probability distribution, without any finite-moment assumption.
At one, approach along the real line from below. For each positive integer , termwise differentiation of a power series followed by the monotone convergence theorem gives the factorial moment
For integer , set . The limit may be infinite; it is a finite boundary value only when the corresponding factorial moment is finite. In particular, a finite first moment gives
and a finite second moment gives
The variance formula follows from . These are boundary limits of derivatives; they do not assert that the probability generating function extends smoothly through one.
For a nonnegative integer-valued random variable, its moment-generating function satisfies wherever finite. The guaranteed probability generating function domain therefore supplies finite values for real ; it does not guarantee positive exponential moments or a finite moment-generating function on a neighborhood of zero. Bounded nonnegative integer-valued random variables have polynomial probability generating functions, but their convenient behavior is not a general existence theorem.
For an independent binomial distribution count , the aggregate can also be represented as , with independent parameter- Bernoulli random variables and independent claim sizes. Its cumulant-generating function is . Its third cumulant is in severity moments. Constant positive claims give , which is negative when . Thus positive claim sizes do not by themselves force a positive third central moment.
Take an independent geometric distribution count with , , and sum its independent positive claims. Its moment-generating function is the displayed composition wherever finite. With and severity moments , the third cumulant is , which is strictly positive for nonzero positive claims and . The law has an atom of mass at zero. Its positive-count convention would instead add a factor to the numerator, as in the geometric-sum moment-generating function.
Conditioning on the independent Poisson distribution count in a random sum gives wherever finite. Differentiation at zero gives the displayed cumulants when the relevant derivatives exist. The aggregate variance is the count rate times the raw second claim moment, not just the claim variance. Positive moment-generating function arguments need an exponential moment; finite first and second claim moments suffice for the aggregate mean and variance by conditioning or right derivatives at zero of the Laplace transform of a nonnegative random variable.
Continuity of a characteristic function Created 2026-09-29 Updated 2026-10-18
Every characteristic function is uniformly continuous and satisfies and . Continuity follows from the dominated convergence theorem applied to .
More explicitly, if , then pointwise and . Apply the dominated convergence theorem to the real part and imaginary part separately. There is no finite moment hypothesis. For uniform continuity, the stronger estimate
follows by factoring out , whose absolute value is one. The integrand tends pointwise to zero and is bounded by two, so the dominated convergence theorem applies again. The bound is independent of , which supplies uniform continuity on the entire real line.[ref]
If the first absolute moment is finite, additionally gives , a Lipschitz continuity estimate. The earlier argument matters because continuity survives even when this expected value is infinite. For convergence in distribution, the separate Lévy continuity theorem concerns limits of whole sequences of characteristic functions; the argument here establishes continuity of one characteristic function.
Let be independent of independent and identically distributed random variables with finite second moments. Conditioning on gives covariance and conditional expectations . Law of total covariance and yield the formula. For per-claim excess of loss reinsurance payouts and , it becomes . The insurer and reinsurer aggregates share their claim count and are generally dependent.
For a random sum of independent claims, conditioning on the count gives and therefore the displayed cumulant-generating function. Write and . The chain rule gives , , and . In raw severity moments , the third cumulant is . Positive exponential moments justify two-sided differentiation near zero; finite ordinary moments alone suffice for the corresponding left derivatives when claims are positive.
With unknown independent covariate and centered error distributions, take the regular mean-preserving error tangent space, let , and . Under , and finite second moments, orthogonal projection removes from . Thus the efficient score and efficient information are and . The reduction to is valid for a normal distribution of errors or for constant , but need not hold otherwise. Centered covariates and logistic distribution errors give the counterexample .
For , assign probability to each of and , and the remaining probability to . This probability distribution has expected value , variance , and tail probability . Thus Chebyshev's inequality is sharp when only these two moments are supplied. For example, , , gives masses , , . Replacing with would exclude the two extreme points in this example.
A Gaussian mixture distribution is a weighted sum of normal distribution densities, with nonnegative weights summing to one. It need not itself be a normal distribution: components with different means and variances can produce skewness or several modes. Its raw moments are weighted sums of the component moments.
Heavy-tailed distribution 2026-10-14
In the right-tail convention, every positive exponential moment is infinite. This is a tail property, not the assertion that the variance or all power moments must be infinite. A heavy-tailed subexponential distribution has the additional property that a sum's far tail is dominated by one large summand.
If is a measurable function into a separable Banach space and has finite second moments under probability measures , then their Bochner integral expected values satisfy
Here the Hellinger distance includes the factor in its square. For a proof, use , , and . Apply the norm bound for a Bochner integral and the Cauchy-Schwarz inequality to , then use . This explains why stability of a Bayesian posterior in Hellinger distance controls posterior expected values when the relevant second moments remain bounded.