| Library: | ista |
| See also: | grpp grqq grqqu |
| Macro: | grppn | |
| Description: | generates a probability-probability-plot to compare a variable with a normal distribution |
| Usage: | bp = grppn (x{, col}) | |
| Input: | ||
| x | n x 1 vector | |
| col | color | |
| Output: | ||
| dp | composed graphical object | |
; loads the library graphic
library ("graphic")
; generate a dataset with 160 observations
t = (normal(25)-8)|(normal(25)+8)|normal(100)|(normal(10)+25)
; generate a pp-plot to compare t with a normal distribution
bp = grqqn (t)
; create a dispplay for plotting
d = createdisplay (1,1)
; plot the pp-plot
show (d, 1, 1, bp)
shows a pp-plot
| Library: | ista |
| See also: | grpp grqq grqqu |