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: plot
See also: grspleplot dispspleplot

Quantlet: plotspleplot
Description: plotspleplot runs spread and level plot

Usage: plotspleplot(data)
Input:
data n x p dataset

Example:
library("plot")
x=read("allbus.dat")
man=paf(x,x[,1]==1)[,2]
woman=paf(x,x[,1]==2)[,2]
woman=woman|NaN.*matrix(rows(man)-rows(woman),1)
x=man~woman
plotspleplot(x)

Result:
there is a new window with spread and level plot
and following output:
[1,] " ------- Spread-and-level Plot------- "
[2,] "  slope of LN of level and LN spread  "
[3,] "--------------------------------------"
[4,] " Slope =                0.338"
[5,] "Power transf. est.      0.662"



Author: M. Benko, W. Haerdle, 010130 license MD*Tech
(C) MD*TECH Method and Data Technologies, 05.02.2006