|
TOPPPFName:
.
with This distribution can be extended with lower and upper bound parameters. If a and b denote the lower and upper bounds, respectively, then the location and scale parameters are:
scale = b - a The general form of the distribution can then be found by using the relation
<SUBSET/EXCEPT/FOR qualification> where <p> is a number, parameter, or variable containing values in the interval (0,1); <y> is a variable or a parameter (depending on what <p> is) where the computed Topp and Leone ppf value is stored; <beta> is a positive number, parameter, or variable that specifies the shape parameter; <a> is a number, parameter, or variable that specifies the lower limit; <b> is a number, parameter, or variable that specifies the upper limit; and where the <SUBSET/EXCEPT/FOR qualification> is optional. If a and b are omitted, they default to 0 and 1, respectively.
LET Y = TOPPPF(P,0.5,0,5) PLOT TOPPPF(P,2,0,3) FOR P = 0 0.01 1
LABEL CASE ASIS
TITLE CASE ASIS
TITLE OFFSET 2
.
MULTIPLOT 2 2
MULTIPLOT CORNER COORDINATES 0 0 100 95
MULTIPLOT SCALE FACTOR
.
LET BETA = 0.5
TITLE Beta = ^beta
PLOT TOPPPF(P,BETA) FOR P = 0 0.01 1
.
LET BETA = 1
TITLE Beta = ^beta
PLOT TOPPPF(P,BETA) FOR P = 0 0.01 1
.
LET BETA = 1.5
TITLE Beta = ^beta
PLOT TOPPPF(P,BETA) FOR P = 0 0.01 1
.
LET BETA = 2
TITLE Beta = ^beta
PLOT TOPPPF(P,BETA) FOR P = 0 0.01 1
.
END OF MULTIPLOT
.
JUSTIFICATION CENTER
MOVE 50 97
TEXT TOPP AND LEONE PPF FUNCTIONS
Date created: 9/10/2007 |