Table of Contents

Name

tabstat - table column statistics

Synopsis

tabstat [parameter=value]

Description

tabstat performs table statistics, much like tabhist without graphical output but with multiple columns. It also contains an iterative worst outlier removal.

Parameters

The following parameters are recognized in any order if the keyword is also given:
in=
Input file name (table) [No default]
xcol=
x coordinate column(s) [1]
iter=
# iterations removing worst outlier [0]
nsigma=
sigma-clipping: multiple sigma above which to remove outliers. See also iter=. If 0 is specified, no sigma-clipping applied. [0]
verbose=
Verbose output of all iterations? [t]
width=
Width of columns to print []
median=
Compute median too? (can be time consuming) [t]
method=
Method to remove outliers (0=fast 1=slow) [0]
nmax=
maximum number of data to be read if data file is a pipe [10000]

See Also

tabhist(1NEMO)

http://vostat.org

Example

A table of the numbers 1 through 100, their squares and square roots is fed into tabstat and compute statistics for each column:
   % nemoinp 1:100 | tabmath - - ’%1*%1,sqrt(%1)’ | tabstat - 1,2,3 width=10
npt:          100       100       100
min:            1         1         1
max:          100     10000        10
mean:        50.5    3383.5   6.71463
disp:     28.8661    3009.2   2.32675
skew:           0  0.633312 -0.538185
kurt:    -1.20024 -0.863731 -0.669795
median:      50.5    2550.5   7.10625

Bugs

Non-existent columns are not handled gracefully

Author

Peter Teuben

Update History


24-Jan-00    doc written    PJT
6-jun-01    V1.1  sigma -> nsigma    PJT


Table of Contents