*! version 1.1.0 7Aug2014
help gboxplot (SJ18-3: st0533)

Title

gboxplot -- Box plot for skewed or heavy-tailed distributions

Syntax

gboxplot varname [if] [in]
[, outlier(varname)
bdp(#)
percout(#)
nograph
delta(#)]

Description

gboxplot creates the box plot for skewed or heavy-tailed
distributions.

Options

outlier(varname) creates varname to identify individuals lying
outside the interval defined by the pivotal values.

bdp(#) sets the desired breakdown point (as a percentage)
for the estimation of the parameters of the Tukey distribution. The default is
bdp(10). The argument of bdp() can be set in the open interval
(0, 25).

percout(#) sets the desired proportion (as a percentage)
of points outside the interval delimited by the generalized pivotal values in
the case of clean data. The default is percout(0.7). The argument of
percout() can be set in the open interval (0, 25).

nograph suppresses the display of the generalized box plot.

delta(#) sets the shifting constant implied in the definition of
the values r_i in the preliminary transformation of the data. The default is
delta(0.1).

Example

Setup

. webuse auto

Creating the generalized box plot

. gboxplot price

Stored results

gboxplot stores the following in e():

Scalars

e(g) estimated skewness parameter of the Tukey g-and-h distribution

e(h) estimated elongation parameter of the Tukey g-and-h distribution

e(upperW) value of the right adjacent value (extremity of the right whisker)

e(lowerW) value of the left adjacent value (extremity of the left whisker)

Authors

Christopher Bruffaerts, Vincenzo Verardi, and Catherine Vermandele

Also see

Article: Stata Journal, volume 18, number 3: st0533

Manual: [R] graph box