(XLISP::CHECK-FSL-VERSION 1 4)
#K(#(80 1 1 0 0 25 1 0 1 1) #(0) #((PROGN #K(#(80 1 3 0 1 2 0 25 3 0 3 3 2 1) #(0) #("Args: (data &key reg-line (title Quantile Plot) nice-range (variable-label value) variable-labels (points nil) point-labels location size (go-away t) (show t))
DATA is a sequence or a list of sequences. Makes quantile plot of the sequence or first sequence. By default a line plot is produced without a menu. Points and a menu are added if POINTS is T. When REG-LINE is t a regression line is to be added to the plot.  Range and tick-marks for y are determined by get-nice-range unless NICE-RANGE (list of min, max, num tick marks) is specified. Remaining arguments are the same as for scatterplots. Function written by Forrest Young to replace original by Luke Tierney." FUNCTION-DOCUMENTATION QUANTILE-PLOT %SET-GET) 0 NIL) #K(#(80 1 2 0 1 1 23 2 3 1 2 25 3 0 2 1 3) #(0) #(QUANTILE-PLOT #K(#(77 3 2 0 0 0 2 1 1 0 13 0 6 14 0 14 15 21 0 2 1 15 0 5 14 38 3 15 38 4 16 38 5 17 38 6 18 38 7 19 38 8 20 38 9 21 38 10 22 38 11 23 38 12 24 38 13 25 38 14 26 25 15 0 23 15 16 1 17 3 18 8 19 14 20 9 21 10 22 7 23 2 24 4 25 11 26 12) #(0 22 25) #(NIL (NIL "Quantile Plot" NIL NIL NIL NIL NIL NIL NIL T T) (:REG-LINE :TITLE :NICE-RANGE :VARIABLE-LABEL :VARIABLE-LABELS :POINTS :POINT-LABELS :LOCATION :SIZE :GO-AWAY :SHOW) QUANTILE-PLOT-PROTO :NEW :TITLE :POINT-LABELS :VARIABLE-LABELS :LOCATION :SIZE :SHOW-POINTS-AND-MENU :REG-LINE :NICE-RANGE :GO-AWAY :SHOW SEND) 0 NIL) BYTE-CODE-CLOSE XLISP::INSTALL-FUNCTION) 0 NIL)) EVAL) 0 NIL)
#K(#(80 1 1 0 0 25 1 0 1 1) #(0) #((PROGN #K(#(80 1 3 0 1 2 0 25 3 0 3 3 2 1) #(0) #("Alias for quantile-plot" FUNCTION-DOCUMENTATION QPLOT %SET-GET) 0 NIL) #K(#(80 1 2 0 1 1 23 2 3 1 2 25 3 0 2 1 3) #(0) #(QPLOT #K(#(77 2 2 0 0 1 39 0 3 25 1 0 3 3 1 2) #(0) #(QUANTILE-PLOT APPLY) 0 NIL) BYTE-CODE-CLOSE XLISP::INSTALL-FUNCTION) 0 NIL)) EVAL) 0 NIL)
#K(#(80 1 3 0 1 2 4 38 3 4 39 4 5 23 5 6 1 4 21 0 1 2 6 0 4 6 1 3 23 6 6 1 4 23 7 4 2 5 6 0 3 5 16 5 6 21 1 4 5 5 38 8 7 23 9 0 3 4 7 6 17 5 5 16 5 6 21 1 4 5 5 38 10 7 23 9 0 4 4 7 2 1 23 11 0 2 2 4 11 0 2) #(0 23 28 33 50 71) #((DATA DATA-LISTS VARIABLES VARIABLE-LABELS NQ-SWITCH X REG-LINE SHOW-POINTS-AND-MENU) QUANTILE-PLOT-PROTO NIL SCATTERPLOT-PROTO MAKE-OBJECT LISTP LIST APPLY :ADD-SLOT SEND :MAKE-PROTOTYPE SET) 0 NIL)
#K(#(80 1 1 0 0 25 1 0 1 1) #(0) #((PROGN #K(#(80 1 3 0 1 2 2 38 3 4 23 4 5 1 3 25 5 0 4 4 2 5 1) #(0) #("Args: (&optional sequence)
Sets or returns the plot data for the y-axis." :DATA #K(#(77 1 2 1 2 2 0 1 2 64 2 5 21 2 1 2 2 0 2 6 1 3 0 3 6 21 0 4 5 5 63 4 6 0 62 4 0 57 0) #(0 17 22 25 30 34) #(NIL DATA #(%NOT-SUPPLIED)) 0 NIL) QUANTILE-PLOT-PROTO BYTE-CODE-CLOSE XLISP::ADD-METHOD) 0 NIL) #K(#(80 1 1 0 0 11 0 1) #(0) #(:DATA) 0 NIL)) EVAL) 0 NIL)
#K(#(80 1 1 0 0 25 1 0 1 1) #(0) #((PROGN #K(#(80 1 3 0 1 2 2 38 3 4 23 4 5 1 3 25 5 0 4 4 2 5 1) #(0) #("Args: (&optional sequence)
Sets or returns the lists of plot data for the y-axis." :DATA-LISTS #K(#(77 1 2 1 2 2 0 1 2 64 2 5 21 2 1 2 2 0 2 6 1 3 0 3 6 21 0 4 5 5 63 4 6 0 62 4 0 57 0) #(0 17 22 25 30 34) #(NIL DATA-LISTS #(%NOT-SUPPLIED)) 0 NIL) QUANTILE-PLOT-PROTO BYTE-CODE-CLOSE XLISP::ADD-METHOD) 0 NIL) #K(#(80 1 1 0 0 11 0 1) #(0) #(:DATA-LISTS) 0 NIL)) EVAL) 0 NIL)
#K(#(80 1 1 0 0 25 1 0 1 1) #(0) #((PROGN #K(#(80 1 3 0 1 2 2 38 3 4 23 4 5 1 3 25 5 0 4 4 2 5 1) #(0) #("Args: (&optional sequence)
Sets or returns the lists of plot data for the y-axis." :VARIABLES #K(#(77 1 2 1 2 2 0 1 2 64 2 5 21 2 1 2 2 0 2 6 1 3 0 3 6 21 0 4 5 5 63 4 6 0 62 4 0 57 0) #(0 17 22 25 30 34) #(NIL VARIABLES #(%NOT-SUPPLIED)) 0 NIL) QUANTILE-PLOT-PROTO BYTE-CODE-CLOSE XLISP::ADD-METHOD) 0 NIL) #K(#(80 1 1 0 0 11 0 1) #(0) #(:VARIABLES) 0 NIL)) EVAL) 0 NIL)
#K(#(80 1 1 0 0 25 1 0 1 1) #(0) #((PROGN #K(#(80 1 3 0 1 2 2 38 3 4 23 4 5 1 3 25 5 0 4 4 2 5 1) #(0) #("Args: (&optional sequence)
Sets or returns the lists of plot data for the y-axis." :VARIABLE-LABELS #K(#(77 1 2 1 2 2 0 1 2 64 2 5 21 2 1 2 2 0 2 6 1 3 0 3 6 21 0 4 5 5 63 4 6 0 62 4 0 57 0) #(0 17 22 25 30 34) #(NIL VARIABLE-LABELS #(%NOT-SUPPLIED)) 0 NIL) QUANTILE-PLOT-PROTO BYTE-CODE-CLOSE XLISP::ADD-METHOD) 0 NIL) #K(#(80 1 1 0 0 11 0 1) #(0) #(:VARIABLE-LABELS) 0 NIL)) EVAL) 0 NIL)
#K(#(80 1 1 0 0 25 1 0 1 1) #(0) #((PROGN #K(#(80 1 3 0 1 2 2 38 3 4 23 4 5 1 3 25 5 0 4 4 2 5 1) #(0) #("Args: (&optional list)
Sets or returns the plot data for the x-axis." :X #K(#(77 1 2 1 2 2 0 1 2 64 2 5 21 2 1 2 2 0 2 6 1 3 0 3 6 21 0 4 5 5 63 4 6 0 62 4 0 57 0) #(0 17 22 25 30 34) #(NIL X #(%NOT-SUPPLIED)) 0 NIL) QUANTILE-PLOT-PROTO BYTE-CODE-CLOSE XLISP::ADD-METHOD) 0 NIL) #K(#(80 1 1 0 0 11 0 1) #(0) #(:X) 0 NIL)) EVAL) 0 NIL)
#K(#(80 1 1 0 0 25 1 0 1 1) #(0) #((PROGN #K(#(80 1 3 0 1 2 2 38 3 4 23 4 5 1 3 25 5 0 4 4 2 5 1) #(0) #("Args: (&optional list)
Sets or returns t or nil for whether there is a regression line." :REG-LINE #K(#(77 1 2 1 2 2 0 1 2 64 2 5 21 2 1 2 2 0 2 6 1 3 0 3 6 21 0 4 5 5 63 4 6 0 62 4 0 57 0) #(0 17 22 25 30 34) #(NIL REG-LINE #(%NOT-SUPPLIED)) 0 NIL) QUANTILE-PLOT-PROTO BYTE-CODE-CLOSE XLISP::ADD-METHOD) 0 NIL) #K(#(80 1 1 0 0 11 0 1) #(0) #(:REG-LINE) 0 NIL)) EVAL) 0 NIL)
#K(#(80 1 1 0 0 25 1 0 1 1) #(0) #((PROGN #K(#(80 1 3 0 1 2 2 38 3 4 23 4 5 1 3 25 5 0 4 4 2 5 1) #(0) #("Args: (&optional list)
Sets or returns t for normap-probablity or nil for quantile plot." :NQ-SWITCH #K(#(77 1 2 1 2 2 0 1 2 64 2 5 21 2 1 2 2 0 2 6 1 3 0 3 6 21 0 4 5 5 63 4 6 0 62 4 0 57 0) #(0 17 22 25 30 34) #(NIL REG-LINE #(%NOT-SUPPLIED)) 0 NIL) QUANTILE-PLOT-PROTO BYTE-CODE-CLOSE XLISP::ADD-METHOD) 0 NIL) #K(#(80 1 1 0 0 11 0 1) #(0) #(:NQ-SWITCH) 0 NIL)) EVAL) 0 NIL)
#K(#(80 1 1 0 0 25 1 0 1 1) #(0) #((PROGN #K(#(80 1 3 0 1 2 2 38 3 4 23 4 5 1 3 25 5 0 4 4 2 5 1) #(0) #("Args: (&optional list)
Sets or returns t or nil for whether to show points and menu." :SHOW-POINTS-AND-MENU #K(#(77 1 2 1 2 2 0 1 2 64 2 5 21 2 1 2 2 0 2 6 1 3 0 3 6 21 0 4 5 5 63 4 6 0 62 4 0 57 0) #(0 17 22 25 30 34) #(NIL SHOW-POINTS-AND-MENU #(%NOT-SUPPLIED)) 0 NIL) QUANTILE-PLOT-PROTO BYTE-CODE-CLOSE XLISP::ADD-METHOD) 0 NIL) #K(#(80 1 1 0 0 11 0 1) #(0) #(:SHOW-POINTS-AND-MENU) 0 NIL)) EVAL) 0 NIL)
#K(#(80 1 1 0 0 25 1 0 1 1) #(0) #((PROGN #K(#(80 1 3 0 1 2 2 38 3 4 23 4 5 1 3 25 5 0 4 4 2 5 1) #(0) #(NIL :ISNEW #K(#(77 3 3 0 0 0 11 10 10 0 1 2 3 4 5 6 7 8 9 7 0 2 23 38 12 24 38 13 25 38 14 26 38 15 27 38 16 28 38 17 29 23 18 0 13 22 24 3 25 4 26 9 27 10 28 11 29 21 38 19 24 23 20 0 3 1 24 20 0 4 24 38 21 25 23 20 0 3 1 25 8 21 0 1 2 8 38 22 25 23 20 25 2 1 25 38 12 26 23 20 0 3 25 26 13 1 3 38 22 25 23 20 0 3 1 25 21 38 23 25 38 12 26 38 24 27 38 25 28 38 26 29 23 20 0 9 1 25 16 26 15 27 28 29 16 38 27 25 23 20 0 3 1 25 16 51 10 25 0 23 28 0 2 14 25 23 29 25 2 23 19 23 30 25 1 25 21 0 4 7 25 38 31 26 23 20 0 3 1 26 23 21 0 6 5 4 23 32 26 1 23 23 33 0 2 17 26 38 34 26 23 20 0 3 1 26 4 16 4 24 16 23 23 38 35 25 23 20 0 5 1 25 20 20 18 38 36 25 38 37 26 38 38 27 38 39 28 38 40 29 23 20 0 11 1 25 23 26 24 27 5 28 6 29 7 21 0 8 9 12 38 41 23 23 20 0 2 1 23 11 0 1 80 1 1 8 0 11 0 1) #(0 86 107 165 181 196 207 223 270 279 282) #("QPlot" DO-NOTHING "No Action" NO-ACTION "Values" 5 0 T NIL 2 (NIL NIL NIL NIL NIL NIL NIL NIL NIL NIL) (:TITLE :VARIABLE-LABELS :POINT-LABELS :REG-LINE :NICE-RANGE :SHOW-POINTS-AND-MENU :LOCATION :SIZE :GO-AWAY :SHOW) :TITLE :VARIABLE-LABELS :LOCATION :SIZE :GO-AWAY :SHOW CALL-NEXT-METHOD :USE-COLOR SEND :SHOW-POINTS-AND-MENU :MENU :ADD-MOUSE-MODE :CLICK :DO-NOTHING :CURSOR :MOUSE-MODE XLISP::INSTALL-FUNCTION SELECT SEQUENCEP :DATA-LISTS LENGTH REPEAT :VARIABLES :X-AXIS :NEW-PLOT :VARIABLE-LABEL :POINT-LABELS :REG-LINE :NICE-RANGE :SHOW-WINDOW) 0 NIL) QUANTILE-PLOT-PROTO BYTE-CODE-CLOSE XLISP::ADD-METHOD) 0 NIL) #K(#(80 1 1 0 0 11 0 1) #(0) #(:ISNEW) 0 NIL)) EVAL) 0 NIL)
#K(#(80 1 1 0 0 25 1 0 1 1) #(0) #((PROGN #K(#(80 1 3 0 1 2 2 38 3 4 23 4 5 1 3 25 5 0 4 4 2 5 1) #(0) #(NIL :NEW-PLOT #K(#(77 3 3 0 0 0 21 20 20 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 16 0 3 27 23 22 28 1 2 23 23 29 1 2 23 24 30 1 29 61 112 30 30 23 25 31 1 29 61 112 31 31 2 47 30 31 30 23 23 30 1 30 23 26 31 1 30 23 25 32 1 30 38 27 33 23 28 33 2 1 33 0 26 34 0 26 35 0 26 36 38 29 37 23 28 0 2 1 37 38 30 37 23 28 0 2 1 37 38 31 37 23 28 0 3 1 37 2 21 0 1 2 33 38 32 37 23 28 0 3 1 37 31 1 3 38 32 37 23 28 0 3 1 37 30 0 6 37 0 37 38 21 0 5 4 38 23 33 39 1 2 23 34 40 1 2 23 35 37 3 39 40 7 38 36 38 48 25 37 39 48 24 37 40 23 28 0 5 1 38 24 39 40 38 37 38 48 23 37 39 23 28 0 5 1 38 22 22 39 21 0 6 19 33 38 38 37 23 28 0 4 1 37 25 14 38 39 37 23 28 0 3 1 37 13 38 40 37 23 28 37 2 1 37 21 0 7 8 37 38 40 38 23 28 38 2 1 38 38 39 39 23 28 0 3 38 39 8 38 36 37 23 28 0 5 1 37 25 12 11 38 41 37 23 28 0 5 1 37 22 22 10 37 62 9 10 32 24 38 42 37 38 43 38 38 44 39 23 28 0 8 1 37 31 29 38 17 39 23 3 61 32 24 37 21 0 12 11 37 38 45 38 23 28 37 2 1 38 21 0 13 14 37 38 46 38 23 47 39 2 31 28 23 47 40 2 29 28 38 43 41 38 48 42 23 28 0 8 1 38 39 40 41 17 42 16 21 0 15 16 5 23 49 37 1 31 23 25 37 1 37 3 62 37 24 37 1 17 0 26 37 21 0 18 27 37 38 50 37 23 51 37 4 31 29 37 26 38 52 38 23 28 34 2 37 38 16 34 35 71 2 2 34 36 38 42 37 23 33 38 1 29 2 45 38 35 38 2 47 38 36 38 23 34 39 1 29 2 45 39 35 39 2 47 39 36 39 23 53 38 2 38 39 23 33 39 1 29 23 34 40 1 29 23 53 39 2 39 40 38 43 40 38 44 41 23 28 0 8 1 37 38 39 40 9 41 23 1 27 38 38 37 23 28 0 4 1 37 25 20 38 39 37 23 28 0 3 1 37 19 38 40 37 23 28 37 2 1 37 21 0 20 21 37 38 40 38 23 28 38 2 1 38 38 39 39 23 28 0 3 38 39 15 38 36 37 23 28 0 5 1 37 25 25 24 38 41 37 23 28 0 5 1 37 22 22 18 37 62 22 23 32 24 38 42 37 38 43 38 38 44 39 23 28 0 8 1 37 30 29 38 17 39 23 3 61 32 24 37 21 0 25 24 37 38 45 38 23 28 37 2 1 38 21 0 26 27 37 38 46 37 23 47 38 2 30 28 23 47 39 2 29 28 38 43 40 38 48 41 23 28 0 8 1 37 38 39 40 17 41 16 21 0 28 29 4 38 54 28 23 25 29 1 4 23 55 29 1 29 23 28 0 4 1 28 29 4 0 27 28 21 0 31 30 28 0 21 27 38 38 28 23 28 0 4 1 28 24 27 38 56 27 23 28 0 2 1 27 38 57 27 25 28 0 2 1 27) #(0 132 144 154 165 182 223 258 277 307 328 338 347 352 385 390 407 410 415 518 553 572 602 623 633 642 647 680 685 706 714 717) #(4 "NP-Plot" RED 7 3 -3 "Normal Probability Plot" "Z-Score of Fraction of Data" "Q-Plot" SQUARE BLUE 5 "Quantile Plot" "Fraction of Data" "" T 2 1 0 NIL (NIL NIL NIL NIL) (:VARIABLE-LABEL :POINT-LABELS :REG-LINE :NICE-RANGE) ORDER SORT-DATA RANK LENGTH NORMAL-QUANT :NQ-SWITCH SEND :START-BUFFERING :CLEAR :DATA :X MIN MAX GET-NICE-RANGE :RANGE :Y-AXIS :VARIABLE-LABEL :TITLE :MENU :X-AXIS :ADD-LINES :COLOR :WIDTH :SHOW-POINTS-AND-MENU :ADD-POINTS SELECT :SYMBOL REMOVE-DUPLICATES :PRINT REGRESSION-MODEL :COEF-ESTIMATES LIST :POINT-LABEL ISEQ :REDRAW :BUFFER-TO-SCREEN) 0 NIL) QUANTILE-PLOT-PROTO BYTE-CODE-CLOSE XLISP::ADD-METHOD) 0 NIL) #K(#(80 1 1 0 0 11 0 1) #(0) #(:NEW-PLOT) 0 NIL)) EVAL) 0 NIL)
#K(#(80 1 1 0 0 25 1 0 1 1) #(0) #((PROGN #K(#(80 1 3 0 1 2 2 38 3 4 23 4 5 1 3 25 5 0 4 4 2 5 1) #(0) #(NIL :NEW-VAR #K(#(80 3 7 0 1 2 3 4 5 6 8 50 2 1 6 2 9 38 7 10 23 8 10 3 1 10 2 23 9 11 1 10 37 62 2 5 11 5 23 10 10 2 10 5 21 0 3 4 10 38 11 11 25 8 0 4 1 11 2 10 25 12 0 1 3 11 0 7 50 2 7 14 2 8 38 13 10 38 13 11 23 8 11 2 1 11 21 0 8 9 11 0 7 11 1 10 0 4 11 23 8 0 3 1 10 11 38 14 10 38 15 11 23 8 11 2 1 11 38 16 12 38 16 13 23 8 13 3 1 13 6 38 17 14 38 18 15 23 8 15 2 1 15 37 62 11 12 15 5 38 19 16 38 18 17 23 8 17 2 1 17 23 20 17 1 17 23 8 15 3 1 16 17 1 13 0 7 15 38 21 16 38 21 17 23 8 17 2 1 17 25 8 0 9 1 10 11 12 13 14 15 16 17 11 0 7) #(0 17 38 49 60 65 68 74 91 96 99 149 175 178 203) #("You must select a variable" T 0 1 NIL "X" "Y" :NEW-VARIABLE-DIALOG SEND LENGTH SELECT :SHOW-NEW-VAR ERROR-MESSAGE :NQ-SWITCH :NEW-PLOT :DATA :VARIABLE-LABEL :POINT-LABELS :NUM-POINTS :POINT-LABEL ISEQ :REG-LINE) 0 NIL) QUANTILE-PLOT-PROTO BYTE-CODE-CLOSE XLISP::ADD-METHOD) 0 NIL) #K(#(80 1 1 0 0 11 0 1) #(0) #(:NEW-VAR) 0 NIL)) EVAL) 0 NIL)
#K(#(80 1 1 0 0 25 1 0 1 1) #(0) #((PROGN #K(#(80 1 3 0 1 2 2 38 3 4 23 4 5 1 3 25 5 0 4 4 2 5 1) #(0) #("Used by new-y button" :SHOW-NEW-VAR #K(#(80 4 1 0 4 38 1 5 38 2 6 38 3 7 23 4 6 3 6 7 3 38 5 7 38 6 8 25 4 0 7 1 5 6 7 3 8 4) #(0) #(T :NEW-PLOT CURRENT-DATA :VARIABLE SEND :VARIABLE-LABEL :REG-LINE) 0 NIL) QUANTILE-PLOT-PROTO BYTE-CODE-CLOSE XLISP::ADD-METHOD) 0 NIL) #K(#(80 1 1 0 0 11 0 1) #(0) #(:SHOW-NEW-VAR) 0 NIL)) EVAL) 0 NIL)
#K(#(80 1 1 0 0 25 1 0 1 1) #(0) #((PROGN #K(#(80 1 3 0 1 2 2 38 3 4 23 4 5 1 3 25 5 0 4 4 2 5 1) #(0) #("Used by new-y button" :MAKE-SHOW-VARIABLES-LIST #K(#(80 2 2 0 1 3 38 2 4 23 3 4 3 1 4 3 38 4 5 23 3 5 2 1 5 38 5 6 25 6 0 4 4 5 6 2) #(0) #(EQUAL 1 :VARIABLE-LABEL SEND :VARIABLE-LABELS :TEST REMOVE) 0 NIL) QUANTILE-PLOT-PROTO BYTE-CODE-CLOSE XLISP::ADD-METHOD) 0 NIL) #K(#(80 1 1 0 0 11 0 1) #(0) #(:MAKE-SHOW-VARIABLES-LIST) 0 NIL)) EVAL) 0 NIL)
#K(#(80 1 1 0 0 25 1 0 1 1) #(0) #((PROGN #K(#(80 1 3 0 1 2 2 38 3 4 23 4 5 1 3 25 5 0 4 4 2 5 1) #(0) #(NIL :PLOT-HELP #K(#(77 3 2 0 0 0 13 12 12 0 1 2 3 4 5 6 7 8 9 10 11 3 38 14 15 23 15 15 3 1 15 14 16 15 15 38 16 16 23 15 16 2 1 16 23 17 16 2 13 16 38 18 17 23 19 0 3 16 17 2 38 20 16 23 15 16 2 1 16 21 0 1 2 16 23 21 17 2 12 6 23 22 0 1 17 23 21 17 2 12 5 23 22 0 1 17 23 21 17 2 12 4 23 22 0 1 17 23 21 17 2 12 3 23 22 0 1 17 1 3 23 21 17 2 12 9 23 22 0 1 17 23 21 17 2 12 8 23 22 0 1 17 23 21 17 2 12 7 23 22 0 1 17 38 23 16 23 15 16 2 15 16 21 0 4 5 16 23 21 17 2 12 10 23 22 0 1 17 38 24 16 23 15 15 2 15 16 21 0 6 7 15 23 21 16 2 12 11 23 22 0 1 16 25 25 0 0) #(0 74 120 153 167 178 192 203) #("Normality is important because very many inferential statistical procedures assume that the data are normally distributed. The normal-probability plot gives us a visual approach to checking on this critical assumption.~2%" "Systematic departures from a straight line indicate non-normality. Such departures include large deviations, which indicate outliers; asymmetric departures at one end or the other, indicating skewness; and horizontal segments, plateaus or gaps, which indicate discrete data.~2%" "In this plot, the jagged line represents the variable's distribution and the straight line represents a normal distribution. If the jagged line is roughly linear, so that it approximately follows the straight line, the variable has an approximately normal distribution.~2%" "The Normal Probability Plot (NP-Plot) pictures a variable's distribution by plotting the value of a specific datum versus the Z-score that would be obtained for the datum under the assumption of normality. That is, the Q-plot's Fraction of Data (empirical probability) is converted, for the NP-plot, into Z-Scores having the stated probability.~2%" "There are several reasons why symmetry is important for data analysis: 1) The center of a distribution is unambiguous for a symmetric distribution. 2) Symmetric distributions are easier to understand (the upper part is like the lower part); and 3) Symmetric distributions are amenable to stronger statistical analysis than asymmetric distributions.~2%" "The plot is used to help decide on the symmetry of a variable's distribution. Symmetry is not displayed in the usual sense. Rather, for a symmetric distribution, the points in the upper half of the plot will stretch out toward the upper right the same way the points in the bottom half stretch out toward the lower left.~2%" "The Quantile plot (Q-Plot) pictures a variable's distribution by plotting the value of a specific datum versus the fraction of the data that is smaller than the specific datum. The jagged line represents the variable's distribution.~2%" "When you click on the Y button at the top of the graph you will be presented with a list of variables to display. Clicking on a variable will change the plot to display that variable on the Y-axis. (If there are only two varibles, it toggles between them.)~2%" "Clicking on the X button at the top of the graph toggles the X-axis between \"Fraction of Data\", and \"Z-Score of Fraction of Data\". It also toggles the entire graph between a Quantile Plot and a Normal Probability Plot." NIL "Help for " OVERLAYS (T) (:FLUSH) :SLOT-VALUE SEND :TITLE STRCAT :FLUSH PLOT-HELP-WINDOW :NQ-SWITCH FORMAT PASTE-PLOT-HELP :NEW-Y :NEW-X SHOW-PLOT-HELP) 0 NIL) QUANTILE-PLOT-PROTO BYTE-CODE-CLOSE XLISP::ADD-METHOD) 0 NIL) #K(#(80 1 1 0 0 11 0 1) #(0) #(:PLOT-HELP) 0 NIL)) EVAL) 0 NIL)
#K(#(80 1 1 0 0 25 1 0 1 1) #(0) #((PROGN #K(#(80 1 3 0 1 2 0 25 3 0 3 3 2 1) #(0) #("Args (xdata ydata &key points (title Quantile-Quantile Plot) reg-line point-labels  variable-labels location size (go-away t) (show t))
XDATA and YDATA are sequences which do not have to be the same length. Makes a quantile-quantile plot of the two sequences.  By default a line plot is produced without a menu. Points and a menu are added if POINTS is T. When REG-LINE is t a regression line is to be added to the plot.  Range and tick-marks for x and y are determined by get-nice-range unless NICE-RANGE-X and NICE-RANGE-Y (lists of min, max, num tick marks) are specified. Remaining arguments are the same as for scatterplots. Function written by Forrest Young to replace original by Luke Tierney." FUNCTION-DOCUMENTATION QUANTILE-QUANTILE-PLOT %SET-GET) 0 NIL) #K(#(80 1 2 0 1 1 23 2 3 1 2 25 3 0 2 1 3) #(0) #(QUANTILE-QUANTILE-PLOT #K(#(77 3 3 0 0 0 3 2 2 0 1 14 21 2 1 2 8 0 8 16 1 3 23 4 16 2 15 14 38 5 17 38 6 18 38 7 19 38 8 20 38 9 21 38 10 22 38 11 23 38 12 24 38 13 25 38 14 26 38 15 27 38 16 28 38 17 29 25 18 0 26 17 18 1 2 19 3 20 5 21 6 22 4 23 9 24 7 25 16 26 10 27 11 28 12 29 13) #(0 17 22 28) #("Ordered Y Values" "Ordered X Values" (NIL "Quantile-Quantile Plot" NIL NIL NIL %NOT-SUPPLIED NIL NIL NIL T T) (:REG-LINE :TITLE :NICE-X-RANGE :NICE-Y-RANGE :POINTS :VARIABLE-LABELS :POINT-LABELS :LOCATION :SIZE :GO-AWAY :SHOW) LIST QUANTILE-QUANTILE-PLOT-PROTO :NEW :REG-LINE :NICE-X-RANGE :NICE-Y-RANGE :TITLE :POINT-LABELS :SHOW-POINTS-AND-MENU :VARIABLE-LABELS :LOCATION :SIZE :GO-AWAY :SHOW SEND) 0 NIL) BYTE-CODE-CLOSE XLISP::INSTALL-FUNCTION) 0 NIL)) EVAL) 0 NIL)
#K(#(80 1 2 0 1 1 23 2 3 1 2 25 3 0 2 1 3) #(0) #(QQPLOT #K(#(77 2 3 0 0 1 39 0 4 25 1 0 4 4 1 2 3) #(0) #(QUANTILE-QUANTILE-PLOT APPLY) 0 NIL) BYTE-CODE-CLOSE XLISP::INSTALL-FUNCTION) 0 NIL)
#K(#(80 1 3 0 1 2 4 38 3 4 39 4 5 23 5 6 1 4 21 0 1 2 6 0 4 6 1 3 23 6 6 1 4 23 7 4 2 5 6 0 3 5 16 5 6 21 1 4 5 5 38 8 7 23 9 0 3 4 7 6 17 5 5 16 5 6 21 1 4 5 5 38 10 7 23 9 0 4 4 7 2 1 23 11 0 2 2 4 11 0 2) #(0 23 28 33 50 71) #((XDATA YDATA REG-LINE SHOW-POINTS-AND-MENU SAME-NOBS) QUANTILE-QUANTILE-PLOT-PROTO NIL SCATTERPLOT-PROTO MAKE-OBJECT LISTP LIST APPLY :ADD-SLOT SEND :MAKE-PROTOTYPE SET) 0 NIL)
#K(#(80 1 1 0 0 25 1 0 1 1) #(0) #((PROGN #K(#(80 1 3 0 1 2 2 38 3 4 23 4 5 1 3 25 5 0 4 4 2 5 1) #(0) #("Args: (&optional list)
Sets or returns the plot data for the x-axis." :XDATA #K(#(77 1 2 1 2 2 0 1 2 64 2 5 21 2 1 2 2 0 2 6 1 3 0 3 6 21 0 4 5 5 63 4 6 0 62 4 0 57 0) #(0 17 22 25 30 34) #(NIL XDATA #(%NOT-SUPPLIED)) 0 NIL) QUANTILE-QUANTILE-PLOT-PROTO BYTE-CODE-CLOSE XLISP::ADD-METHOD) 0 NIL) #K(#(80 1 1 0 0 11 0 1) #(0) #(:XDATA) 0 NIL)) EVAL) 0 NIL)
#K(#(80 1 1 0 0 25 1 0 1 1) #(0) #((PROGN #K(#(80 1 3 0 1 2 2 38 3 4 23 4 5 1 3 25 5 0 4 4 2 5 1) #(0) #("Args: (&optional sequence)
Sets or returns the plot data for the y-axis." :YDATA #K(#(77 1 2 1 2 2 0 1 2 64 2 5 21 2 1 2 2 0 2 6 1 3 0 3 6 21 0 4 5 5 63 4 6 0 62 4 0 57 0) #(0 17 22 25 30 34) #(NIL YDATA #(%NOT-SUPPLIED)) 0 NIL) QUANTILE-QUANTILE-PLOT-PROTO BYTE-CODE-CLOSE XLISP::ADD-METHOD) 0 NIL) #K(#(80 1 1 0 0 11 0 1) #(0) #(:YDATA) 0 NIL)) EVAL) 0 NIL)
#K(#(80 1 1 0 0 25 1 0 1 1) #(0) #((PROGN #K(#(80 1 3 0 1 2 2 38 3 4 23 4 5 1 3 25 5 0 4 4 2 5 1) #(0) #("Args: (&optional list)
Sets or returns t or nil for whether there is a regression line." :REG-LINE #K(#(77 1 2 1 2 2 0 1 2 64 2 5 21 2 1 2 2 0 2 6 1 3 0 3 6 21 0 4 5 5 63 4 6 0 62 4 0 57 0) #(0 17 22 25 30 34) #(NIL REG-LINE #(%NOT-SUPPLIED)) 0 NIL) QUANTILE-QUANTILE-PLOT-PROTO BYTE-CODE-CLOSE XLISP::ADD-METHOD) 0 NIL) #K(#(80 1 1 0 0 11 0 1) #(0) #(:REG-LINE) 0 NIL)) EVAL) 0 NIL)
#K(#(80 1 1 0 0 25 1 0 1 1) #(0) #((PROGN #K(#(80 1 3 0 1 2 2 38 3 4 23 4 5 1 3 25 5 0 4 4 2 5 1) #(0) #("Args: (&optional list)
Sets or returns t or nil for whether the two plotted variables have the same number of observations." :SAME-NOBS #K(#(77 1 2 1 2 2 0 1 2 64 2 5 21 2 1 2 2 0 2 6 1 3 0 3 6 21 0 4 5 5 63 4 6 0 62 4 0 57 0) #(0 17 22 25 30 34) #(NIL SAME-NOBS #(%NOT-SUPPLIED)) 0 NIL) QUANTILE-QUANTILE-PLOT-PROTO BYTE-CODE-CLOSE XLISP::ADD-METHOD) 0 NIL) #K(#(80 1 1 0 0 11 0 1) #(0) #(:SAME-NOBS) 0 NIL)) EVAL) 0 NIL)
#K(#(80 1 1 0 0 25 1 0 1 1) #(0) #((PROGN #K(#(80 1 3 0 1 2 2 38 3 4 23 4 5 1 3 25 5 0 4 4 2 5 1) #(0) #("Args: (&optional list)
Sets or returns t or nil for whether to show points and menu." :SHOW-POINTS-AND-MENU #K(#(77 1 2 1 2 2 0 1 2 64 2 5 21 2 1 2 2 0 2 6 1 3 0 3 6 21 0 4 5 5 63 4 6 0 62 4 0 57 0) #(0 17 22 25 30 34) #(NIL SHOW-POINTS-AND-MENU #(%NOT-SUPPLIED)) 0 NIL) QUANTILE-QUANTILE-PLOT-PROTO BYTE-CODE-CLOSE XLISP::ADD-METHOD) 0 NIL) #K(#(80 1 1 0 0 11 0 1) #(0) #(:SHOW-POINTS-AND-MENU) 0 NIL)) EVAL) 0 NIL)
#K(#(80 1 1 0 0 25 1 0 1 1) #(0) #((PROGN #K(#(80 1 3 0 1 2 2 38 3 4 23 4 5 1 3 25 5 0 4 4 2 5 1) #(0) #(NIL :ISNEW #K(#(77 3 4 0 0 0 8 7 7 0 1 2 3 4 5 6 6 38 9 22 38 10 23 38 11 24 38 12 25 38 13 26 23 14 0 11 21 22 7 23 11 24 12 25 13 26 20 38 15 22 23 16 0 3 1 22 19 38 17 22 23 16 0 3 1 22 9 21 0 1 2 9 38 18 22 23 16 22 2 1 22 38 9 23 23 16 0 3 22 23 15 1 3 38 18 22 23 16 0 3 1 22 20 38 19 22 38 9 23 38 20 24 38 21 25 38 22 26 23 16 0 9 1 22 18 23 17 24 25 26 18 38 23 22 23 16 0 3 1 22 18 51 6 22 0 23 24 0 2 16 22 38 25 22 38 26 23 38 27 24 38 28 25 38 29 26 38 30 27 23 16 0 14 1 22 2 3 23 8 24 10 25 4 26 5 27 6 21 0 4 5 14 38 31 22 23 16 0 2 1 22 11 0 1 80 1 1 5 0 11 0 1) #(0 72 93 151 192 201 204) #("QQPlot" DO-NOTHING "No Action" NO-ACTION T NIL 2 (NIL NIL NIL NIL NIL NIL NIL NIL NIL NIL NIL) (:REG-LINE :NICE-X-RANGE :NICE-Y-RANGE :TITLE :VARIABLE-LABELS :SHOW-POINTS-AND-MENU :POINT-LABELS :LOCATION :SIZE :GO-AWAY :SHOW) :TITLE :LOCATION :SIZE :GO-AWAY :SHOW CALL-NEXT-METHOD :USE-COLOR SEND :SHOW-POINTS-AND-MENU :MENU :ADD-MOUSE-MODE :CLICK :DO-NOTHING :CURSOR :MOUSE-MODE XLISP::INSTALL-FUNCTION :NEW-PLOT :VARIABLE-LABELS :POINT-LABELS :REG-LINE :NICE-X-RANGE :NICE-Y-RANGE :SHOW-WINDOW) 0 NIL) QUANTILE-QUANTILE-PLOT-PROTO BYTE-CODE-CLOSE XLISP::ADD-METHOD) 0 NIL) #K(#(80 1 1 0 0 11 0 1) #(0) #(:ISNEW) 0 NIL)) EVAL) 0 NIL)
#K(#(80 1 1 0 0 25 1 0 1 1) #(0) #((PROGN #K(#(80 1 3 0 1 2 2 38 3 4 23 4 5 1 3 25 5 0 4 4 2 5 1) #(0) #(NIL :NEW-PLOT #K(#(77 3 4 0 0 0 12 11 11 0 1 2 3 4 5 6 7 8 9 10 12 0 4 20 23 13 21 1 2 23 13 22 1 3 37 61 1 2 21 22 23 14 21 1 2 1 5 23 13 23 1 3 37 61 3 4 23 18 23 15 23 1 2 23 16 21 1 23 1 5 23 13 23 1 3 23 17 23 3 19 18 23 23 18 21 2 2 23 23 13 22 1 2 23 13 23 1 3 37 61 6 7 22 23 23 14 22 1 3 1 10 23 13 24 1 3 37 61 8 9 24 18 0 3 22 1 10 23 13 24 1 3 23 17 24 3 19 18 24 23 18 22 2 3 24 23 13 23 1 2 23 13 24 1 3 37 61 11 12 23 24 38 19 25 23 20 0 3 1 25 16 1 13 38 19 25 23 20 0 3 1 25 14 38 21 23 23 20 0 2 1 23 38 22 23 23 20 0 2 1 23 38 23 23 23 20 0 3 1 23 21 38 24 23 23 20 0 3 1 23 22 0 8 23 0 7 24 0 24 25 21 0 15 14 25 23 25 26 1 2 23 26 27 1 2 23 27 24 3 26 27 9 38 28 25 48 19 24 26 48 18 24 27 23 20 0 5 1 25 19 26 27 38 29 25 48 17 24 26 23 20 0 5 1 25 16 16 26 0 23 24 21 0 17 16 24 23 25 25 1 3 23 26 26 1 3 23 27 23 3 25 26 9 38 28 24 48 19 23 25 48 18 23 26 23 20 0 5 1 24 18 25 26 38 30 24 48 17 23 25 23 20 0 5 1 24 16 16 25 23 13 23 1 21 3 61 23 18 23 21 0 19 18 23 38 31 24 23 20 23 2 1 24 21 0 20 21 23 38 32 24 38 33 25 38 34 26 23 20 0 8 1 24 21 22 25 11 26 10 23 13 23 1 21 37 62 22 23 23 18 38 35 24 38 33 25 38 36 26 23 20 0 8 1 24 21 22 25 11 26 17 21 0 24 25 6 23 37 23 1 21 23 13 23 1 23 3 62 23 18 23 1 26 0 14 23 21 0 27 28 23 38 38 24 23 39 24 4 21 22 24 14 38 40 25 23 20 24 2 24 25 16 24 25 71 2 2 24 26 38 35 27 23 25 28 1 3 2 45 28 25 28 2 47 28 26 28 23 26 29 1 3 2 45 29 25 29 2 47 29 26 29 23 16 28 2 28 29 23 25 29 1 3 23 26 30 1 3 23 16 29 2 29 30 38 33 30 38 36 31 23 20 0 8 1 27 28 29 30 13 31 17 38 35 24 23 25 25 1 3 2 45 25 19 25 2 47 25 18 25 23 26 26 1 3 2 45 26 19 26 2 47 26 18 26 23 16 25 2 25 26 23 25 26 1 3 23 26 27 1 3 23 16 26 2 26 27 38 41 27 23 20 0 6 1 24 25 26 27 12 0 20 21 21 0 30 29 21 23 16 20 2 15 15 16 20 21 21 0 32 31 21 78 20 15 0 71 2 2 20 21 21 0 34 33 21 47 18 20 15 0 38 42 21 16 20 22 23 20 0 4 1 21 19 22 38 42 21 71 2 2 20 22 23 20 0 4 1 21 18 22 38 43 20 23 20 0 2 1 20 38 44 20 25 20 0 2 1 20) #(0 40 47 58 70 88 104 111 122 127 145 161 173 183 235 252 296 313 364 373 378 399 410 431 436 453 456 461 630 638 644 652 656 666 671) #(4 SQUARE BLUE DASHED RED NIL "" T 2 1 0 (NIL NIL NIL NIL NIL) (:VARIABLE-LABELS :POINT-LABELS :REG-LINE :NICE-X-RANGE :NICE-Y-RANGE) LENGTH SORT-DATA MEAN LIST RSEQ QUANTILE :SAME-NOBS SEND :START-BUFFERING :CLEAR :XDATA :YDATA MIN MAX GET-NICE-RANGE :RANGE :X-AXIS :Y-AXIS :SHOW-POINTS-AND-MENU :ADD-POINTS :COLOR :SYMBOL :ADD-LINES :WIDTH REMOVE-DUPLICATES :PRINT REGRESSION-MODEL :COEF-ESTIMATES :TYPE :VARIABLE-LABEL :REDRAW :BUFFER-TO-SCREEN) 0 NIL) QUANTILE-QUANTILE-PLOT-PROTO BYTE-CODE-CLOSE XLISP::ADD-METHOD) 0 NIL) #K(#(80 1 1 0 0 11 0 1) #(0) #(:NEW-PLOT) 0 NIL)) EVAL) 0 NIL)
#K(#(80 1 1 0 0 25 1 0 1 1) #(0) #((PROGN #K(#(80 1 3 0 1 2 2 38 3 4 23 4 5 1 3 25 5 0 4 4 2 5 1) #(0) #(NIL :PLOT-HELP #K(#(77 3 2 0 0 0 17 16 16 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 38 18 19 23 19 19 3 1 19 18 16 19 19 38 20 20 23 19 20 2 1 20 38 21 21 23 19 21 2 1 21 23 22 21 2 17 21 38 23 22 23 24 0 3 21 22 2 23 25 21 2 16 15 23 26 0 1 21 21 0 1 2 20 0 3 21 1 3 0 4 21 23 25 21 3 16 14 21 23 26 0 1 21 21 0 4 5 20 23 25 20 2 16 5 1 6 23 25 20 2 16 6 23 26 0 1 20 23 25 20 2 16 13 23 26 0 1 20 23 25 20 2 16 12 23 26 0 1 20 23 25 20 2 16 11 23 26 0 1 20 23 25 20 2 16 10 23 26 0 1 20 23 25 20 2 16 9 23 26 0 1 20 23 25 20 2 16 8 23 26 0 1 20 38 27 20 23 19 19 2 19 20 21 0 7 8 19 23 25 20 2 16 7 23 26 0 1 20 25 28 0 0) #(0 89 94 97 114 122 128 213 224) #("have" "do not have" " simply a plot of one sorted variable against the other sorted variable.~2%" " formed by plotting the quantiles of the entire set of observations for the variable with fewer values versus an interpolation of the variable with more values that yields the same quantiles.~2%" "When you click on the X or Y buttons at the top of the graph you will be presented with a list of variables to display. Clicking on a variable will change the plot to display the variable on the X or Y axis." "If the jagged blue line is roughly straight, the two variables have aproximately the same shaped distributions. If the blue line approximately follows the dashed line, then the two distributions are roughly identical. If it approximately follows the red line, but not the dashed line, the two distributions are \"similar\", but have different centers and spreads.~2%" "If the jagged blue line is systematically different from a straight line the distributions of the two variables do not have the same shape, and are not geometrically similar. Outliers appear as large deviations from the straight line.~2%" "The measures of center and spread that are compared in this plot are the mean and variance of the quantiles." "When the dashed and red lines are parallel but not near each other, the measures of spread of the observed distributions are about the same, but the centers are different. The the two lines are near each other but not parallel, then the observed distributions have roughly the same centers, but different spreads.~2%" "CENTER AND SPREAD:~%The straight dashed black line represents two identically distributed variables (this line does not appear when the centers of the two variables are very different). The straight red line represents two variables whose distributions are the same shape and which have measures of center and spread which are like those of the observed variables. Such distributions are geometrically \"similar\", since they have the same shape.~2%" "The blue line on the QQ-Plot tells us whether the two variables have distributions that have the same shape. If the line is roughly straight, the two variables have roughly the same shape. This is important to know, since many analyses assume that the variables are \"identically\" distributed, which means they have the same shape. When two variables are normally distributed, for example, they have the same shape.~2%" "Since, for these data, the two variables ~a the same number of observations,the jagged blue line is " "The Quantile-Quantile plot (QQ-Plot) is used to compare the distributions of two variables. In the QQ-plot, the quantiles of two variables are plotted against each other, forming the jagged blue line. This line represents the relationship between the two distributions. " NIL "Help for " OVERLAYS (T) (:FLUSH) :SLOT-VALUE SEND :SAME-NOBS :TITLE STRCAT :FLUSH PLOT-HELP-WINDOW FORMAT PASTE-PLOT-HELP :NEW-Y SHOW-PLOT-HELP) 0 NIL) QUANTILE-QUANTILE-PLOT-PROTO BYTE-CODE-CLOSE XLISP::ADD-METHOD) 0 NIL) #K(#(80 1 1 0 0 11 0 1) #(0) #(:PLOT-HELP) 0 NIL)) EVAL) 0 NIL)
#K(#(80 1 1 0 0 25 1 0 1 1) #(0) #("qplotobj" PROVIDE) 0 NIL)
