nimare.transforms.t_to_z

t_to_z(t_values, dof)[source]

Convert t-statistics to z-statistics.

New in version 0.0.3.

An implementation of 1 from Vanessa Sochat’s TtoZ package 2.

Parameters
  • t_values (array_like) – T-statistics

  • dof (int) – Degrees of freedom

Returns

z_values (array_like) – Z-statistics

References

1

Hughett, P. (2007). Accurate Computation of the F-to-z and t-to-z Transforms for Large Arguments. Journal of Statistical Software, 23(1), 1-5.

2

Sochat, V. (2015, October 21). TtoZ Original Release. Zenodo. http://doi.org/10.5281/zenodo.32508