Skip to content

ENH tools, distance measures for distributions, find closest approximation #7278

Open

Description

@josef-pkt

Some distributions have no closed form (or special) versions and are not tractable. For some use cases we can use approximation that are easier to work with.

example: moment matching for p-values in hypothesis tests. recent examples that I used was shifted and scaled chisquare approximation to distribution of weighted sum of chisquare random variables, (e.g. LR tests under misspecification or incomplete specification.)

There is also a literature on finding approximations for quantile function, ppf, to make simulating random numbers easier.

In the literature for GLM link functions for binomial I saw it mentioned that t-distribution with around 6 or 7 degrees of freedom is close to logistic distribution.

Tail approximation: extreme value theory looks at distribution of the tail and which distribution provides good approximation to the tail behavior, e.g. pareto tails.
One question is whether a distribution has power tails, exponential tails or some other tails. This is important if we are not just interested in approximating the main part of a distribution.

this article includes a survey of methods to stich a distribution for the tail together with a distribution for the bulk
Scarrott, Carl, and Anna MacDonald. "A review of extreme value threshold estimation and uncertainty quantification." REVSTAT–Statistical Journal 10, no. 1 (2012): 33-60.

Tools:

I'd like something similar to gof test, but for distributions, e.g. match two cdfs, where one is the reference and the other is parameterized to match as closely as possible.
In this case we need to define a distance measure similar to KS test, "sup", integral versions like Cramer, von Mises or Anderson, Darling, or matching just a few quantiles or values of cdf. Then we can minimize the distance to find best matching parameters.

Other alternative, Kullback-Leibler distance. In this case we could also use MLE which minimizes KL distance in misspecified models.

related:

Activity

  1. josef-pkt commented on Jan 24, 2021

    @josef-pkt
    MemberAuthor

    aside: How can we minimize a sup objective function over a continuous parameter space?
    e.g. minimize KS distance measure

  2. josef-pkt commented on Jan 24, 2021

    @josef-pkt
    MemberAuthor

    aside parking a link

    https://sites.google.com/site/probonto/home
    Ontology and Knowledge Base of Probability Distributions

    They have a pdf file with a list of distributions and several common parameterizations for some them. References often mention the corresponding gamlss functions. (I found link through Wikipedia, e.g. 7 parameterizations of log-normal distribution)

    Also, gamlss authors authored a book with list of distributions.

  3. josef-pkt commented on Jan 24, 2021

    @josef-pkt
    MemberAuthor

    example approximate log-normal with log-logistic
    (I don't think the example is very important because we can use normal cdf and ppf as special functions.)

    Swamee, Prabhata K., and Pushpa N. Rathie. "Invertible alternatives to normal and lognormal distributions." Journal of Hydrologic Engineering 12, no. 2 (2007): 218-221.
    with discussion

  4. josef-pkt commented on Jan 27, 2021

    @josef-pkt
    MemberAuthor

    example: checking closeness of "generalized" distributions

    Matheson, M., Muñoz, A. & Cox, C. Describing the Flexibility of the Generalized Gamma and Related Distributions. J Stat Distrib App 4, 15 (2017). https://doi.org/10.1186/s40488-017-0072-5

    and two more by same authors
    https://doi.org/10.1002/sim.6159 is also at https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4125467/
    https://doi.org/10.1080/03610926.2016.1277757

    I only skimmed a few parts or looked at plots.

  5. josef-pkt commented on Jun 4, 2021

    @josef-pkt
    MemberAuthor

    they use absolute value in KS, AD, ... instead of (or in addition to) max or square
    average-KS, average-AD and max-AD, difference is in weights,
    Integration for average is with respect to reference distribution, which I think corresponds to sample mean.
    (found from citation in a more recent article that uses the same distance measures)

    Malevergne & D Sornette (2003) Testing the Gaussian copula hypothesis for financial assets
    dependences, Quantitative Finance, 3:4, 231-250, DOI: 10.1088/1469-7688/3/4/301

  6. josef-pkt commented on Oct 20, 2025

    @josef-pkt
    MemberAuthor

    interesting random find

    Karian, Zaven A., and Edward J. Dudewicz. 2016. Handbook of Fitting Statistical Distributions with R. Chapman and Hall/CRC. https://doi.org/10.1201/b10159.

    section 16.5 has approximation to well-known distribution by Johnson's system of distributions.
    The first, main part of the book uses generalized lambda distribution. I did not look at that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions