Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Search  

nifti_statlib.h

Go to the documentation of this file.
00001 #ifndef _NIFTI_STATLIB_HEADER_
00002 
00003 #ifndef NIFTI_INTENT_CORREL          /* abstracted from nifti1.h */
00004 #  define NIFTI_INTENT_CORREL      2   /* NIfTI p1 DOF = AFNI p1-p2-p3 */
00005 #  define NIFTI_INTENT_TTEST       3
00006 #  define NIFTI_INTENT_FTEST       4
00007 #  define NIFTI_INTENT_ZSCORE      5
00008 #  define NIFTI_INTENT_CHISQ       6
00009 #  define NIFTI_INTENT_BETA        7
00010 #  define NIFTI_INTENT_BINOM       8
00011 #  define NIFTI_INTENT_GAMMA       9
00012 #  define NIFTI_INTENT_POISSON    10
00013 #  define NIFTI_INTENT_NORMAL     11
00014 #  define NIFTI_INTENT_FTEST_NONC 12
00015 #  define NIFTI_INTENT_CHISQ_NONC 13
00016 #  define NIFTI_INTENT_LOGISTIC   14
00017 #  define NIFTI_INTENT_LAPLACE    15
00018 #  define NIFTI_INTENT_UNIFORM    16
00019 #  define NIFTI_INTENT_TTEST_NONC 17
00020 #  define NIFTI_INTENT_WEIBULL    18
00021 #  define NIFTI_INTENT_CHI        19
00022 #  define NIFTI_INTENT_INVGAUSS   20
00023 #  define NIFTI_INTENT_EXTVAL     21
00024 #  define NIFTI_INTENT_PVAL       22
00025 #  define NIFTI_INTENT_LOGPVAL    23
00026 #  define NIFTI_INTENT_LOG10PVAL  24
00027 #endif
00028 
00029 /** Number of auxiliary parameters needed for each distribution **/
00030 
00031 static int NIFTI_need_stat_aux[] = { 0 , 0 ,
00032                                      3 , 1 , 2 , 0 , 1 , 2 , 2 , 2 , 1 ,
00033                                      2 , 3 , 2 , 2 , 2 , 2 , 3 , 1 , 2 ,
00034                                      2 , 0 , 0 , 0
00035                                    } ;
00036 
00037 extern float NIFTI_stat_to_pval  ( float thr , int statcode, float *stataux );
00038 extern float NIFTI_pval_to_stat  ( float pval, int statcode, float *stataux );
00039 extern float NIFTI_stat_to_zscore( float thr , int statcode, float *stataux );
00040 
00041 #endif
 

Powered by Plone

This site conforms to the following standards: