AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
February 11, 2003 03:29PM

(continued)

So, to convert the F-stats to signed z-scores: Let's suppose that the output
bucket dataset, stim01.bucket+orig, contains the following 2 sub-bricks (these
two sub-bricks were created using the -glt option):

3dinfo stim01.bucket+orig
etc. etc.
-- At sub-brick #14 'Area LC[0] coef'
-- At sub-brick #15 'Area F-stat'
statcode = fift; statpar = 1 247
etc. etc.

The following 3dcalc command converts the F-stats in sub-brick #15 to z-scores,
and then multiplies by the signs contained in sub-brick #14:

3dcalc -a stim01.bucket+orig'[14]' -b stim01.bucket+orig'[15]' \
-expr "(step(a)-step(-a))*fift_t2z(b,1,247)" -fscale -prefix temp

Note that the F-stat num and den dof (in this case, 1 and 247) must be the same
as those from the 3dinfo listing.

Now, to label the sub-brick, and attach it to the bucket dataset (optional),
use the following commands:

3drefit -substatpar 0 fizt -sublabel 0 z-score temp+orig
3dbucket -glueto stim01.bucket+orig temp+orig


Doug Ward
Subject Author Posted

F to z transformation

Tom King February 11, 2003 10:26AM

Re: F to z transformation

B. Douglas Ward February 11, 2003 12:24PM

Re: F to z transformation

B. Douglas Ward February 11, 2003 03:29PM

Re: F to z transformation

bob cox February 11, 2003 12:39PM

Re: F to z transformation

Craig Stark February 11, 2003 12:54PM

Re: F to z transformation

bob cox February 11, 2003 12:57PM