code: def test_z_score():
      p = np.random.rand(10)
      z = z_score(p)
      assert_array_almost_equal(norm.sf(z), p)
  
file_path: nipy/nipy/algorithms/statistics/tests/test_utils.py
imports: import numpy
  import pytest
  import scipy.linalg
  from numpy.testing import assert_almost_equal, assert_array_almost_equal, assert_array_equal
  from scipy.stats import norm
  from ..utils import check_cast_bin8, multiple_fast_inv, multiple_mahalanobis, z_score
label_desc: Use image node_id 1 for calling a global function with example usage: test_z_score() without return types