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 grqqu grppn

Quantlet: grppu
Description: generates a probability-probability plot to compare a variable with a uniform distribution.

Link:
Usage: dp = grppu(x {,col})
Input:
x n x 1 vector, sample from the variable to be compared with a uniform 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  = uniform(250)+15
; generates a pp-plot to compare t with a uniform distribution
dp = grppu(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