HIST(1) ZOOT UTILITY PROGRAMS HIST(1) NAME hist - generate statistics and a small ascii histogram DESCRIPTION This program takes a file of numbers separated by spaces (or it takes them from stdin if requested) and generates some statistical figures and a histogram. It can also compute empirical p-values. At least two samples are required. All output goes to the standard output. ARGUMENTS usage: hist [-p {-,}] [-s] {-,} When using with APM, the "file of samples" is usually one of the tstat*.out files containing the simulated statistics, and the "file of statistics" is generally not used (though "-p -" is sometimes used to enter statistics manually to compute empirical p-values (see below)). If -p is specified, the program will compute empirical p-values after everything else is done. If the p-value statistics are being taken from standard input (as directed by using '-' instead of the file name), it will prompt for them. The -s option is required only if -p is specified, to avoid ambiguity. If -p is not used, just a file name may be given. If -p is specified, then there must be at least one file specification (for either the p-value statistics or the samples). Both kinds of data cannot be read in from the standard input. EXAMPLES 'hist ' reads samples from and does not compute empirical p-values 'hist -p -s -' reads samples from stdin and statistics for empirical p-values from 'hist -p -s ' reads statistics for p-values from and samples from 'hist -p - -s ' reads the samples from and the statistics for the p-values from stdin 'hist' is illegal 'hist -p - -s -' is illegal (both files can't be unspecified) BUGS None known. REFERENCES Just myself. But for references regarding APM, see the accompanying REFERENCES file. APM Release 2.0 Last change: 23 Aug 1993