NIFTI_STATS(1)
๐ NIFTI_STATS ๐
okay bestie, this is the manual for nifti_stats โ it's a User Command, it lives in section 1 of the manual, and it is genuinely the moment for anyone who's ever needed a statistical distribution to just show up on the command line. ๐
โจ NAME โจ
nifti_stats โ compute NIfTI statistical functions ๐งฎ๐
๐ฆ SYNOPSIS ๐ฆ
nifti_stats [-q|-d|-1|-z] value CODE [p1 p2 p3]
like... that's it. that's the whole invocation. she's compact. ๐
๐ธ DESCRIPTION ๐ธ
so nifti_stats supports a whole lil squad of distributions โ normal, uniform, logistic, chi, etc. โ and it calculates density or the cummulative distribution function (and honestly, many more). Values get printed to stdout, and you can absolutely pipe them into other tools. it's giving pipeline main character energy. ๐ฅ
value can be a single number, or in the form bot:top:step.
- default ==> output
p = Prob(statistic < val). -q==> output is1-p.-d==> output is density.-1==> output isxsuch thatProb(statistic < x) = val.-z==> output iszsuch that Normal cdf(z) =p(val).-h==> output iszsuch that 1/2-Normal cdf(z) =p(val).
๐ Allowable CODEs:
CORREL, TTEST, FTEST, ZSCORE, CHISQ, BETA, BINOM, GAMMA, POISSON, NORMAL, FTEST_NONC, CHISQ_NONC, LOGISTIC, LAPLACE, UNIFORM, TTEST_NONC, WEIBULL, CHI, INVGAUSS, EXTVAL, PVAL, LOGPVAL and LOG10PVAL
not me listing every single one of these because they ALL matter, bestie. no skips. ๐ฏ
Following CODE are distributional parameters, as needed.
Results are written to stdout, 1 number per output line. yes. one. per. line. clean. ๐งผโจ
๐ EXAMPLE ๐
Piping output into the AFNI program 1dplot:
nifti_stats -d 0:4:.001 INVGAUSS 1 3 | 1dplot -dx 0.001 -stdin
obsessed. this is the whole vibe: you compute, you pipe, you plot. ๐ซถ๐
๐ SEE ALSO ๐
Homepage: http://niftilib.sourceforge.net ๐
๐ AUTHOR ๐
RW Cox - SSCC/NIMH/NIH/DHHS/USA/EARTH - March 2004 ๐
This manual page was written by Michael Hanke <michael.hanke@gmail.com>, for the Debian project (but may be used by others). ๐ซก
and that's the whole page, bestie โ nifti_stats, September 2007, NIFTI_STATS(1), signed sealed delivered ๐โจ go forth and compute your distributions, ily ๐๐ฆ
๐ฆ where this page comes from
- debian bookworm: nifti-bin 3.0.1-9 ยท other
- debian trixie: nifti-bin 3.0.1-9.1+b1 ยท other
- ubuntu jammy: nifti-bin 3.0.1-8 ยท other
- ubuntu noble: nifti-bin 3.0.1-9.1ubuntu2 ยท other
- ubuntu questing: nifti-bin 3.0.1-9.1ubuntu2
- ubuntu resolute: nifti-bin 3.0.1-9.1ubuntu3 ยท other
- ubuntu stonking: nifti-bin 3.0.1-9.1ubuntu3 ยท other
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms