Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: graphic
See also: grqq grqqn grppu

Quantlet: grppn
Description: generates a probability-probability plot to compare a variable with a normal distribution.

Link:
Usage: dp = grppn(x {,col})
Input:
x n x 1 vector, sample from the variable to be compared with a normal distribution
col optional scalar, color of the plot; default col = grc.col.black
Output:
dp list, composed graphical object

Example:
; loads the library graphic
library("graphic")
; generates dataset
t  = normal(250)
; generates a pp-plot to compare t with a normal distribution
dp = grppn(t)
; creates a display for plotting
d  = createdisplay(1,1)
; plots the pp-plot
show(d, 1, 1, dp)

Result:
Shows a pp-plot



Author: E. Giacomini, 20030614 license MD*Tech
(C) MD*TECH Method and Data Technologies, 05.02.2006