|
GL2PDFName:
The general form of the type 2 generalized logistic probability density function can be obtained by replacing x in the above formula with (x-loc)/scale.
<SUBSET/EXCEPT/FOR qualification> where <x> is a variable, number or parameter; <alpha> is a number or parameter that specifies the value of the shape parameter; <loc> is a number or parameter that specifies the value of the location parameter; <scale> is a number or parameter that specifies the value of the scale parameter; <y> is a variable or a parameter (depending on what <x> is) where the computed generalized logistic type 2 pdf value is stored; and where the <SUBSET/EXCEPT/FOR qualification> is optional. The location and scale parameters are optional.
LET X2 = GL2PDF(X1,ALPHA) PLOT GL2PDF(X,ALPHA) FOR X = -5 0.01 5
LET Y = GENERALIZED LOGISTIC TYPE 2 RANDOM NUMBERS ... FOR I = 1 1 N GENERALIZED LOGISTIC TYPE 2 PROBABILITY PLOT Y GENERALIZED LOGISTIC TYPE 2 KOLMOGOROV SMIRNOV ... GOODNESS OF FIT Y GENERALIZED LOGISTIC TYPE 2 CHI-SQUARE ... GOODNESS OF FIT Y The following commands can be used to estimate the shape parameter for the generalized logistic type 2 distribution:
LET ALPHA2 = <value> GENERALIZED LOGISTIC TYPE 2 PPCC PLOT Y GENERALIZED LOGISTIC TYPE 2 KS PLOT Y The default values for ALPHA1 and ALPHA2 are 0.1 and 10, respectively. Bootstrap samples for these plots can be obtained with the commands
LET ALPHA2 = <value> BOOTSTRAP GENERALIZED LOGISTIC TYPE 2 PLOT Y BOOTSTRAP GENERALIZED LOGISTIC TYPE 2 KS PLOT Y
If a random variable, X, follows a type 2 generalized logistic distribution, then -X follows a type 1 generalized logistic distribution.
LET A = DATA 0.5 1 2 5 MULTIPLOT 2 2 MULTIPLOT CORNER COORDINATES 0 0 100 95 MULTIPLOT SCALE FACTOR 2 LABEL CASE ASIS TITLE CASE ASIS TITLE DISPLACEMENT 2 X1LABEL X Y1LABEL Probability Density X1LABEL DISPLACEMENT 12 Y1LABEL DISPLACEMENT 15 . LOOP FOR K = 1 1 4 LET ALPHA = A(K) TITLE Alpha = ^ALPHA PLOT GL2PDF(X,ALPHA) FOR X = -5 0.01 5 END OF LOOP END OF MULTIPLOT CASE ASIS MOVE 50 97 JUSTIFICATION CENTER TEXT Generalized Logistic Type 2 PDF's
Date created: 3/27/2006 |