code: def test_squared_normal_chi2():
      #'\nsquare of standard normal random variable is chisquare with dof=1 distributed'
      cdftr = squarenormalg.cdf(xx, loc=l, scale=s)
      sfctr = 1 - squarenormalg.sf(xx, loc=l, scale=s)  # sf complement
      cdfst = stats.chi2.cdf(xx, 1)
      assert_almost_equal(cdfst, cdftr, 14)
      assert_almost_equal(cdfst, sfctr, 14)
  
imports: import numpy
  from numpy.testing import assert_almost_equal
  from scipy import stats
  from statsmodels.sandbox.distributions.extras import ExpTransf_gen, LogTransf_gen, squarenormalg, absnormalg, negsquarenormalg, squaretg
label_desc: Use image node_id 3 for calling a global function with example usage: test_squared_normal_chi2() without return types