You need the df and the p-value, but he p-value can be derived from the Z-score. So all you really need is the df. Note that the probabilities are the lower tail probabilities and not the upper tails.
This formula should work
spm_invTcdf(spm_Ncdf(Z,0,1),df)
Best Regards, Donald McLaren ================= D.G. McLaren, Ph.D. Research Fellow, Department of Neurology, Massachusetts General Hospital and
Harvard Medical School Postdoctoral Research Fellow, GRECC, Bedford VA Website: http://www.martinos.org/~mclaren Office: (773) 406-2464 =====================
This e-mail contains CONFIDENTIAL INFORMATION which may contain PROTECTED HEALTHCARE INFORMATION and may also be LEGALLY PRIVILEGED and which is intended only for the use of the individual or entity named above. If the
reader of the e-mail is not the intended recipient or the employee or agent responsible for delivering it to the intended recipient, you are hereby notified that you are in possession of confidential and privileged
information. Any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this e-mail unintentionally, please immediately notify the sender via telephone at (773)
406-2464 or email.
On Fri, Nov 8, 2013 at 12:49 AM, Michael King <[log in to unmask]> wrote:
Hi,
I would like to calculate the t-statistic from a reported z statistic for an activated voxel. What information will I need to perform this (df, p value etc)?