Dear Rebecca,

You can use spm_t2z to get z score.

Format is spm_t2z(t,df), so, for example, if the t is 6.5 and df=120

spm_t2z(6.5, 120) will return

z=6.0042

Hope this helps,

Kiyotaka



2015-11-04 5:58 GMT+09:00 Rebecca Kerestes <[log in to unmask]>:
Dear SPM community,

I have some neuroimaging data and want to run correlations between z scores for 2 measures. In the SPM results table, I've noticed there are "infinite" z scores. Does anyone know how to extract an actual z score from these infinite values? I'm hoping there may be some matlab code available.

Thanks,
Rebecca



--
Kiyotaka Nemoto, M.D., Ph.D.
Assistant Professor
Department of Psychiatry
Division of Clinical Medicine, Faculty of Medicine
University of Tsukuba
1-1-1Tennodai Tsukuba, Ibaraki 305-8575, Japan
E-mail: [log in to unmask]