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 Hughett1 from Vanessa Sochat’s TtoZ package 2.

Parameters
  • t_values (array_like) – T-statistics

  • dof (int) – Degrees of freedom

Returns

z_values – Z-statistics

Return type

array_like

References

1

Paul Hughett. Accurate computation of the f-to-z and t-to-z transforms for large arguments. Journal of Statistical Software, 23:1–5, 2008. URL: https://doi.org/10.18637/jss.v023.c01, doi:10.18637/jss.v023.c01.

2

Vanessa Sochat. Ttoz original release. October 2015. URL: https://doi.org/10.5281/zenodo.32508, doi:10.5281/zenodo.32508.