NAME

stat - determines simple statistics

SYNOPSIS

stat [xc=] [white] [debug] [format=%.4f]

DESCRIPTION

stat computes the computes simple statistics from number arriving in stdin. Used without options it reads the first column of numbers and prints out a line similar to:
n=12 mean=0.4136 rms=0.2878 var=0.0828 median=0.4089 sum=4.9634 min=0.0606 max=0.9343 diff=0.8737
Where n is the number of data points, mean is the arithmetic mean, rms is the standard deviation, var is the variance, median is the median, sum is the sum, min and max are what you think.
OPTIONS

xc= the column where the data lie (default:1)

format= changes floating point format from "%.4f" to what you want.


Program index