Dataplot Vol 2 Auxiliary Chapter

LGNHAZ

Name:
    LGNHAZ (LET)
Type:
    Library Function
Purpose:
    Compute the lognormal hazard function.
Description:
    The lognormal distribution has the following hazard function:

      h(x,sigma)=LGNPDF(x,sigma)/(1 - LGNCDF(x,sigma))   0 <= x < infinity

    where sigma is the shape parameter.
Syntax:
    LET <y2> = LGNHAZ(<y1>,<s>,<loc>,<scale>)             <SUBSET/EXCEPT/FOR qualification>
    where <y1> is a non-negative number, parameter, or variable;
                <s> is an optional positive number, parameter, or variable that specifies the shape parameter;
                <loc> is an optional number, parameter, or variable that specifies the location parameter;
                <scale> is an optional number, parameter, or variable that specifies the shape parameter;
                <y2> is a variable or a parameter (depending on what <y1> is) where the computed lognormal hazard value is stored;
    and where the <SUBSET/EXCEPT/FOR qualification> is optional.
Examples:
    LET A = LGNHAZ(3)
    LET X2 = LGNHAZ(X1)
    LET X2 = LGNHAZ(X1,0.5)
    LET X2 = LGNHAZ(X1,0.5,10,50)
Note:
    A variable X is log-normally distributed if the variable Y=LOG(X) is normally distributed.
Default:
    None
Synonyms:
    None
Related Commands:
    LGNCHAZ = Compute the lognormal cumulative hazard function.
    LGNPDF = Compute the lognormal probability density function.
    WEIHAZ = Compute the Weibull hazard function.
    EXPHAZ = Compute the exponential hazard function.
    NORHAZ = Compute the normal hazard function.
    PLNHAZ = Compute the power-lognormal hazard function.
Reference:
    "Continuous Univariate Distributions: Volume 1", Johnson, Kotz, and Balakrishnin, John Wiley and Sons, 1994.
Applications:
    Reliability
Implementation Date:
    1998/5
Program:
    TITLE AUTOMATIC
    PLOT LGNHAZ(X) FOR X = 0.01 0.01 10.0

    plot generated by sample program

Date created: 6/5/2001
Last updated: 4/4/2003
Please email comments on this WWW page to alan.heckert@nist.gov.