Provided by: calc-stats_1.6-0ubuntu1_all
calc-stats - a series of wrappers for performing basic statistic calculations on files or standard input containing numbers, using awk
calc-min [FILE] calc-max [FILE] calc-mean [FILE] calc-avg [FILE] calc-median [FILE] calc-mode [FILE] calc-stdev [FILE] calc-histogram [FILE] calc-sum [FILE]
While none of these have options, the input may be specified either as a FILE argument, or as standard input.
This suite of simple tools will perform efficient statistics calculations on either a file or standard input containing numbers (integers or floats), one per line. * calc-min will print the largest numeric value from input * calc-max will print the smallest numeric value from input * calc-mean (and avg) will print the arithmetic mean (average) value from input * calc-mode will print the most frequently occurring value from input * calc-median will print the middle value of the sorted input * calc-stdev will print the standard deviation of all values in the input * calc-histogram will print a reverse sorted, weighted distribution of input values * calc-sum will calculate the sum of all input values
This manpage and the utility were written by Dustin Kirkland <email@example.com> for Ubuntu systems (but may be used by others). Permission is granted to copy, distribute and/or modify this document and the utility under the terms of the Apache2 License. The complete text of the Apache2 License can be found in /usr/share/common- licenses/Apache-2.0 on Debian/Ubuntu systems.