code: def test_basic(self):
      tm = self.tm
      assert_equal(tm.nobs, 19)
      assert_equal(tm.nobs_reduced, 17)
      assert_equal(tm.fraction, self.k / 19)
      assert_equal(tm.data_trimmed.shape[0], tm.nobs_reduced)
  
      res = [
          tm.mean_trimmed,
          tm.std_mean_trimmed,
          tm.mean_winsorized,
          tm.std_mean_winsorized,
          tm.var_winsorized,
      ]
      assert_allclose(res, self.res_basic, rtol=1e-15)
  
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 3 for calling the TestTrimmedR1 obj's underlying member method code with example usage: obj.test_basic() without return types