code: def test_basic(self):
      res1 = self.res1
      res2 = self.res2
      # location
      assert_allclose(
          res1.params[:-2], res2.loc_fit.coefficients, atol=3e-5
      )
      assert_allclose(
          res1.bse[:-2], res2.loc_fit.table[:, 1], rtol=0.003, atol=1e-5
      )
      assert_allclose(
          res1.tvalues[:-2],
          res2.loc_fit.table[:, 2],
          rtol=0.003,
          atol=1e-5,
      )
      assert_allclose(
          res1.pvalues[:-2],
          res2.loc_fit.table[:, 3],
          rtol=0.009,
          atol=1e-5,
      )
  
      # df
      assert_allclose(res1.params[-2], res2.dof, rtol=5e-5)
      assert_allclose(res1.bse[-2], res2.dofse, rtol=0.16, atol=1e-5)
      # scale
      scale_est = np.sqrt(res2.scale_fit.fitted_values.mean())
      assert_allclose(res1.params[-1], scale_est, atol=1e-5)
  
      assert_allclose(res1.llf, res2.logLik, atol=1e-5)
  
file_path: statsmodels/statsmodels/miscmodels/tests/test_tmodel.py
imports: import pytest
  import numpy
  from numpy.testing import assert_allclose
  from statsmodels.tools.tools import add_constant
  from statsmodels.tools.testing import Holder
  from statsmodels.miscmodels.tmodel import TLinearModel
label_desc: Use image node_id 1 for calling the CheckTLinearModelMixin obj's underlying member method code with example usage: obj.test_basic() without return types