code: def test_inference(self):
      ytt1 = self.ytt1
      tm = self.tm
  
      ttt = tm.ttest_mean()
      assert_allclose(ttt[0], ytt1.statistic, rtol=1e-13)
      assert_allclose(ttt[1], ytt1.p_value, rtol=1e-13)
      assert_equal(ttt[2], ytt1.parameter)
      assert_allclose(tm.mean_trimmed, ytt1.estimate, rtol=1e-13)
  
      # regression test for Winsorized t-test,
      # mean, std for it are separately unit tested,
      # df is nobs_reduced-1 in references
      ttw_statistic, ttw_pvalue, tt_w_df = (
          4.090283559190728,
          0.0008537789444194812,
          16,
      )
      ttw = tm.ttest_mean(transform="winsorized")
      assert_allclose(ttw[0], ttw_statistic, rtol=1e-13)
      assert_allclose(ttw[1], ttw_pvalue, rtol=1e-13)
      assert_equal(ttw[2], tt_w_df)
  
imports: import numpy
  from numpy.testing import assert_equal, assert_allclose, assert_raises
  import pytest
  from statsmodels.stats.robust_compare import TrimmedMean, trim_mean, trimboth
  import statsmodels.stats.oneway
  from statsmodels.tools.testing import Holder
  from scipy.stats import trim1
label_desc: Use image node_id 4 for calling the TestTrimmedR1 obj's underlying member method code with example usage: obj.test_inference() without return types