Demo program for computing NIfTI statistical functions.
Usage: nifti_stats [-q|-d|-1|-z] val CODE [p1 p2 p3]
 val 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     LOG10PVAL 
 Following CODE are distributional parameters, as needed.

Results are written to stdout, 1 number per output line.
Example (piping output into AFNI program 1dplot):
 nifti_stats -d 0:4:.001 INVGAUSS 1 3 | 1dplot -dx 0.001 -stdin

Author - RW Cox - SSCC/NIMH/NIH/DHHS/USA/EARTH - March 2004