Distribution

Represent a univariate probability distribution and related noise model.


Declaration

classdef (Abstract) Distribution

Overview

Distribution is the abstract base class for a univariate probability distribution with density \(p(z)\) and cumulative distribution \(F(z) = \int_{-\infty}^{z} p(\zeta)\,\mathrm{d}\zeta.\) Subclasses provide those distribution functions, and this base class adds percentile inversion, range-limited second-moment integrals, random sampling, correlated-noise generation, and goodness-of-fit diagnostics.

The method locationOfCDFPercentile returns \(z_{\alpha}\) satisfying \(F(z_{\alpha}) = \alpha.\) The method varianceInRange evaluates \(\int_{z_{\min}}^{z_{\max}} z^{2} p(z)\,\mathrm{d}z,\) which coincides with the variance contribution on that interval for centered distributions. The Anderson-Darling and Kolmogorov-Smirnov methods compare the empirical distribution of a sample against the theoretical CDF \(F(z)\) through standard AD and KS statistics.

Topics