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

IBPPF

Name:
    IBPPF (LET)
Type:
    Library Function
Purpose:
    Compute the inverted beta cumulative distribution function. This is also referred to as the beta distribution of the second kind or the beta prime distribution.
Description:
    The inverted beta distribution has the following probability density function:

      f(x,alpha,beta) = x**(alpha-1)/
[B(alpha,beta)*(1+x)**(alpha+beta)]   
x, alpha, beta > 0

    with B denoting the beta function (HELP BETA for details).

    The inverted beta cumulative distribution function is computed by numerically integrating the inverted beta probability density function. The percent point function is computed by numerically inverting the cumulative distribution function.

Syntax:
    LET <y> = IBPPF(<p>,<alpha>,<beta>)
                            <SUBSET/EXCEPT/FOR qualification>
    where <p> is a variable, a number, or a parameter in the range [0,1];
                <alpha> is a number or parameter specifying the first shape parameter;
                <beta> is a number or parameter specifying the second shape parameter;
                <y> is a variable or a parameter (depending on what <p> is) where the computed inverted beta ppf value is stored;
    and where the <SUBSET/EXCEPT/FOR qualification> is optional.
Examples:
    LET A = IBPPF(0.95,2,1.5)
    LET X2 = IBPPF(P1,A,B)
    PLOT IBPPF(P,0.5,2) FOR P = 0.01 0.01 0.99
Default:
    None
Synonyms:
    None
Related Commands:
    IBCDF = Compute the inverted beta cumulative distribution function.
    IBPDF = Compute the inverted beta probability density function.
    BETPDF = Compute the beta probability density function.
    NORPDF = Compute the normal probability density function.
    RANDOM NUMBERS = Generate random numbers from 60+ univariate distributions.
Reference:
    "Continuous Univariate Distributions, Volume 2", Second Edition, Johnson, Kotz, and Balakrishnan, Wiley, 1994, p. 248.

    "Statistical Distributions", Third Edition, Evans, Hastings, and Peacock, Wiley, 2000.

Applications:
    Distributional Modeling
Implementation Date:
    2004/1
Program:
     
    LET ALPHA = DATA 0.5 0.5 0.5 1 1 1 2 2 2
    LET BETA = DATA 0.5 1 2 0.5 1 2 0.5 1 2
    .
    XLIMITS 0 1
    MAJOR XTIC MARK NUMBER 6
    MINOR XTIC MARK NUMBER 1
    .
    MULTIPLOT 3 3
    MULTIPLOT CORNER COORDINATES 0 0 100 100
    MULTIPLOT SCALE FACTOR 3
    LOOP FOR K = 1 1 9
        LET A = ALPHA(K)
        LET B = BETA(K)
        TITLE ALPHA = ^A, BETA = ^B
        PLOT IBPPF(P,^A,^B)  FOR P = 0.01 0.01 0.99
    END OF LOOP
    END OF MULTIPLOT
        
    plot generated by sample program

Date created: 2/3/2004
Last updated: 2/3/2004
Please email comments on this WWW page to alan.heckert@nist.gov.