Orthant probabilities of the bivariate normal law (Sheppard's formula) #
For a centered bivariate normal vector (X, Y) with equal variances and correlation r,
P(X > 0, Y > 0) = P(X ≤ 0, Y ≤ 0) = 1/4 + arcsin r / (2π) (Sheppard 1899).
The bivariate normal law is described through its one-dimensional projections: we assume that
aX + bY ~ N(0, (a² + 2abr + b²) v) for all real a, b. By the Cramér–Wold device
(measure_prod_eq_of_map_linear_eq), this identifies the law of (X, Y) with that of
(W₁, r W₁ + √(1 − r²) W₂) for independent W₁, W₂ ~ N(0, v). The probability of the
corresponding wedge is computed in polar coordinates: the angle of (W₁, W₂) is uniform.
Main results #
measure_prod_eq_of_map_linear_eq: Cramér–Wold for finite measures onℝ × ℝ.map_linear_prod_gaussianReal:aW₁ + bW₂ ~ N(0, a²v + b²w)for independent Gaussians.gaussianReal_prod_wedge: the wedge{0 < p₁, 0 < cos α p₁ + sin α p₂}has mass(π − α)/(2π).orthant_pos_of_linear_laws,orthant_nonpos_of_linear_laws: Sheppard's formula.
References #
- W. F. Sheppard, On the application of the theory of error to cases of normal distribution and normal correlation, Phil. Trans. R. Soc. A 192 (1899).
- W. H. Kruskal, Ordinal measures of association, J. Amer. Statist. Assoc. 53 (1958).
Cramér–Wold device on ℝ × ℝ: two finite measures with the same laws of all linear
forms a p₁ + b p₂ coincide.
Gaussian laws only depend on the real value of the variance.
A linear combination of two independent centered Gaussians is a centered Gaussian.
The product of two copies of N(0, v) has the product Gaussian density.
The product Gaussian density is radial.
Polar-coordinate formula for the mass of a cone under the product Gaussian law.
A random variable with a nondegenerate centered Gaussian law is almost surely nonzero.
Sheppard's formula (positive orthant). If every linear form aX + bY has law
N(0, (a² + 2abr + b²) v) with v > 0, i.e. (X, Y) is centered bivariate normal with equal
variances v and correlation r, then P(X > 0, Y > 0) = 1/4 + arcsin r / (2π).
Sheppard's formula (negative orthant): under the hypotheses of
orthant_pos_of_linear_laws, P(X ≤ 0, Y ≤ 0) = 1/4 + arcsin r / (2π).