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: stats
See also: twboxcox

Quantlet: boxcoxdens
Description: shows the change in the density before and after a Box-Cox transformation of x

Usage: boxcoxdens (x, p)
Input:
x n x q
p scalar

Example:

; loads the library stats

library("stats")

; loads the library graphic

library("graphic")   

; loads the library graphic

library("smoother")   

; reset random generator 

randomize(0)

; generate x (skewed)

x = 0.05+0.9.*uniform (250)

x = qfc (x, 2)

; show the densities

boxcoxdens(x, 0)

Result:

shows the density of the data before and after the

Box-Cox transformation.


Library: stats
See also: twboxcox

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

Author: Susanne Hannappel, 970220 Sigbert Klinke, 970820
(C) MD*TECH Method and Data Technologies, 21.9.2000