SED navigation bar go to SED home page go to Dataplot home page go to NIST home page SED Home Page SED Staff SED Projects SED Products and Publications Search SED Pages
Dataplot Vol 2 Vol 1

WAKPPF

Name:
    WAKPPF (LET)
Type:
    Library Function
Purpose:
    Compute the Wakeby percent point function.
Description:
    The Wakeby distribution is defined by the transformation

      X = xi + (alpha/beta)*{1 - (1-U)**beta} -
 (gamma/delta)*{1 - (1-U)**(-delta)}

    where U is a standard uniform random variable. That is, the above equation defines the percent point function for the Wakeby distribution.

    The parameters beta, gamma and delta are shape parameters. The parameter xi is a location parameter and the parameter alpha is a scale parameter.

    The following restrictions apply to the parameters of this distribution:

    1. beta + delta ≥ 0
    2. Either beta + delta > 0 or beta = gamma = delta = 0
    3. If gamma > 0, then delta > 0
    4. gamma ≥ 0
    5. alpha + gamma ≥ 0

    The domain of the Wakeby distribution is

    1. xi to infinity
      if delta ≥ 0 and gamma > 0
    2. xi to xi + (alpha/ beta) - (gamma/ delta)
      if delta < 0 or gamma = 0

    With three shape parameters, the Wakeby distribution can model a wide variety of shapes.

Syntax:
    LET <y> = WAKPPF(<p>,<beta>,<gamma>,<delta>,<chi>,<alpha>)
                            <SUBSET/EXCEPT/FOR qualification>
    where <p> is a number, parameter, or variable in the interval (0,1);
                <y> is a variable or a parameter (depending on what <p> is) where the computed Wakeby ppf value is stored;
                <beta> is a number, parameter, or variable that specifies the first shape parameter;
                <gamma> is a number, parameter, or variable that specifies the second shape parameter;
                <delta> is a number, parameter, or variable that specifies the third shape parameter;
                <chi> is a number, parameter, or variable that specifies the location parameter;
                <alpha> is a number, parameter, or variable that specifies the scale parameter;
    and where the <SUBSET/EXCEPT/FOR qualification> is optional.

    If <xi> and <alpha> are omitted, they default to 0 and 1, respectively.

Examples:
    LET A = WAKPPF(1.3,2.5,6)
    LET A = WAKPPF(13,2.5,6,0,10)
    PLOT WAKPPF(X,2.5,6) FOR X = -10 0.1 10
Note:
    The percent point function for the Wakeby distribution is computed using the QUAWAK routine written by Hosking (see the Reference section below).

    Hoskings report and associated Fortran code can be downloaded from the Statlib archive at

      http://lib.stat.cmu.edu/
Default:
    None
Synonyms:
    None
Related Commands:
    WAKCDF Compute the Wakeby cumulative distribution function.
    WAKPDF = Compute the Wakeby probability density function.
    GEPPDF = Compute the generalized Pareto probability density function.
    GEVPDF = Compute the generalized extreme value probability density function.
    WEIPDF = Compute the Weibull probability density function.
    LGNPDF = Compute the lognormal probability density function.
    LAMPDF Compute the Tukey lambda probability density function.
    GLDPDF = Compute the generalized Tukey lambda probability density function.
    GHPDF = Compute the g and h probability density function.
Reference:
    Johnson, Kotz, and Balakrishnan (1994), "Continuous Univariate Distribution--Volume 1", Second Edition, Wiley, pp. 44-47.

    J. R. M. Hosking (2000), "Research Report: Fortran Routines for use with the Method of L-Moments", IBM Research Division, T. J. Watson Research Center, Yorktown Heights, NY 10598.

    Hoskings (1990), "L-moments: Analysis and Estimation of Distribution using Linear Combinations of Order Statistics", Journal of the Royal Statistical Society, Series B, 52, pp. 105-124.

Applications:
    Distributional Modeling
Implementation Date:
    2007/10
Program:
     
    let xi = 0
    let alpha = 10
    let beta = 5
    let gamma = 1
    let delta = 0.3
    .
    plot wakppf(p,beta,gamma,delta,xi,alpha) for p = 0.01  0.01  0.99
        
    plot generated by sample program

Date created: 12/17/2007
Last updated: 12/17/2007
Please email comments on this WWW page to alan.heckert@nist.gov.