NIFTI_STATS(1)

๐Ÿ“ฆ
version 3.0.1 ยท 3 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

๐Ÿ’– 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 is 1-p.
  • -d ==> output is density.
  • -1 ==> output is x such that Prob(statistic < x) = val.
  • -z ==> output is z such that Normal cdf(z) = p(val).
  • -h ==> output is z such 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 ๐ŸŽ€๐Ÿฆ‹