MINISTAT(1)
πΈ NAME πΈ
ministat β it's the statistics utility, bestie! This is the ministat(1) page from the General Commands Manual, and we're gonna get through it together π
β¨ SYNOPSIS β¨
ministat [-Anqs] [-C column] [-c confidence] [-d delimiters] [-w width]
[file ...]
π DESCRIPTION π
Okay so ministat crunches the fundamental statistical properties of numeric data β the data lives in whatever files you name, or if you name literally no files, it reads from standard input. Simple as that π«Ά
The options are as follows:
-Aβ just report the statistics of the input plus the relative comparisons, and suppress that ASCII-art plot. Plot's cute but she's not invited today π-Ccolumn β pick which column of data to use. Default behavior is that first column in the input file(s) gets used. No notes β¨-cconfidence β set the confidence level you want for the Student's T analysis. Possible percent values are80,90,95,98,99, and99.5. Choose wisely, queen π-ddelimiters β set the column delimiter characters. Default isβ \tβ(i.e., a space and a tab). Seestrtok(3)for the details, iykyk π¦-nβ just report the raw statistics of the input, suppress the ASCII-art plot and the relative comparisons. Bare minimum era π-qβ suppress printing of summary statistics and data-set names; typically for use alongside-n. Quiet luxury π-sβ print the average/median/stddev bars on separate lines in the ASCII-art plot, so they don't overlap. Personal space is self-care πΈ-wwidth β set the width of the ASCII-art plot in characters. Default is the terminal width, or74if standard output is not a terminal. Customize her β
Ngl, ministat accepts up to seven input files. That's the cap, bestie.
Also, each dataset must contain at least three values. Three is the minimum, no exceptions, that's the vibe check π₯
π¦ EXIT STATUS π¦
The ministat utility exits 0 on success, and >0 if an error occurs. That's it, that's the whole rule π
π EXAMPLES π
Let's consider two input files. The first one will be βiguanaβ:
50
200
150
400
750
400
150
The second one will be βchameleonβ:
150
400
720
500
930
A sample output could look like this:
$ ministat -s -w 60 iguana chameleon
x iguana
+ chameleon
+------------------------------------------------------------+
|x * x * + + x +|
| |________M______A_______________| |
| |________________M__A___________________| |
+------------------------------------------------------------+
N Min Max Median Avg Stddev
x 7 50 750 200 300 238.04761
+ 5 150 930 500 540 299.08193
No difference proven at 95.0% confidence
So if ministat tells you, as in the example above, that there is no difference proven at 95% confidence β the two datasets you gave it are, for all statistical purposes, identical. Literally twins π―ββοΈ
You do have the option of lowering your standards by specifying a lower confidence level:
$ ministat -s -w 60 -c 80 iguana chameleon
x iguana
+ chameleon
+------------------------------------------------------------+
|x * x * + + x +|
| |________M______A_______________| |
| |________________M__A___________________| |
+------------------------------------------------------------+
N Min Max Median Avg Stddev
x 7 50 750 200 300 238.04761
+ 5 150 930 500 540 299.08193
Difference at 80.0% confidence
240 +/- 212.215
80% +/- 70.7384%
(Student's t, pooled s = 264.159)
But a lower standard does not make your data any better π and the example is only included here to show the format of the output when a statistical difference is proven according to Student's T method. Don't come for me, I'm just the messenger π
π§ SEE ALSO π§
Any mathematics text on basic statistics, for instance the following book, which supplied the above example:
Larry Gonick and Woollcott Smith, The Cartoon Guide to Statistics, HarperPerennial, 1993, ISBN 0-06-273102-5.
π HISTORY π
The ministat command was written by Poul-Henning Kamp out of frustration over all the bogus benchmark claims made by people with no understanding of the importance of uncertainty and statistics. Honestly? Iconic motivation. He ate π
From FreeBSD 5.2 it has lived in the source tree as a developer tool, graduating to the installed system from FreeBSD 8.0. Glow-up of the century, fr fr β¨
And that's the whole page, bestie π«Ά β this came from the Debian build dated November 13, 2025, so yeah, MINISTAT(1), Debian edition, and she's still serving statistics realness to this day π
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- ubuntu resolute: ministat 20251113-2 Β· BSD-2
- ubuntu stonking: ministat 20251113-2 Β· BSD-2
- π the page's license: BSD-2-Clause
- Copyright (c) 2007 Poul-Henning Kamp. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms