code: def test_robust_kurtosis_dg(self):
      # Test custom delta, gamma in kr4
      x = self.kurtosis_x
      delta, gamma = (10.0, 45.0)
      kurtosis = robust_kurtosis(
          self.kurtosis_x, dg=(delta, gamma), excess=False
      )
      q = np.percentile(x, [delta, 100.0 - delta, gamma, 100.0 - gamma])
      assert_almost_equal(kurtosis[3], (q[1] - q[0]) / (q[3] - q[2]))
  
imports: import numpy
  import pandas
  from numpy.testing import assert_almost_equal, assert_raises, assert_equal, assert_allclose
  from statsmodels.stats._adnorm import normal_ad
  from statsmodels.stats.stattools import omni_normtest, jarque_bera, durbin_watson, _medcouple_1d, medcouple, robust_kurtosis, robust_skewness
label_desc: Use image node_id 22 for calling the TestStattools obj's underlying member method code with example usage: obj.test_robust_kurtosis_dg() without return types