nimare.transforms.p_to_z

p_to_z(p, tail='two')[source]

Convert p-values to (unsigned) z-values.

Parameters
  • p (array_like) – P-values

  • tail ({‘one’, ‘two’}, optional) – Whether p-values come from one-tailed or two-tailed test. Default is ‘two’.

Returns

z (array_like) – Z-statistics (unsigned)