*! version 1.2.1 07mar2013

Title

testhelp -- Calculate whatever statistic

Syntax

whatever
[varlist]
[if] [in]
[weight]
[, options]

Main
detail display additional statistics

meanonly suppress the display; calculate only the mean;
programmer's option

format use variable's display format

separator(#) draw separator line after every # variables;
default is separator(5)

generate(newvar) create variable name newvar

by is allowed; see [D] by.

fweights are allowed; see weight.

Description

whatever calculates the whatever statistic for the variables in
varlist when the data are not stratified.

Options

Main

detail displays detailed output of the calculation.

meanonly restricts the calculation to be based on only the means. The
default is to use a trimmed mean.

format requests that the summary statistics be displayed using
the display formats associated with the variables, rather than the default
g display format; see
.

separator(#) specifies how often to insert separation lines
into the output. The default is separator(5), meaning that a
line is drawn after every 5 variables. separator(10) would draw a line
after every 10 variables. separator(0) suppresses the separation line.

generate(newvar) creates newvar containing the whatever
values.

Remarks

For detailed information on the whatever statistic, see [R] intro.

Examples

. whatever mpg weight

. whatever mpg weight, meanonly