code: def test_loggamma():
      #'Results for expgamma'
      loggammaexpg = LogTransf_gen(stats.gamma)
      cdftr = loggammaexpg._cdf(1, 10)
      cdfst = stats.loggamma.cdf(1, 10)
      assert_almost_equal(cdfst, cdftr, 14)
  
      cdftr = loggammaexpg._cdf(2, 15)
      cdfst = stats.loggamma.cdf(2, 15)
      assert_almost_equal(cdfst, cdftr, 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 1 for calling a global function with example usage: test_loggamma() without return types