code: def test_basics(self):
      infl1 = self.infl1
      infl0 = self.infl0
  
      assert_allclose(
          infl0.hat_matrix_diag, infl1.hat_matrix_diag, rtol=1e-12
      )
  
      assert_allclose(
          infl0.resid_studentized,
          infl1.resid_studentized,
          rtol=1e-12,
          atol=1e-7,
      )
  
      cd_rtol = getattr(self, "cd_rtol", 1e-7)
      assert_allclose(
          infl0.cooks_distance[0],
          infl1.cooks_distance[0],
          rtol=cd_rtol,
          atol=1e-14,
      )  # very small values possible
      assert_allclose(
          infl0.dfbetas, infl1.dfbetas, rtol=1e-9, atol=5e-9
      )
      assert_allclose(
          infl0.d_params, infl1.d_params, rtol=1e-9, atol=5e-9
      )
      assert_allclose(
          infl0.d_fittedvalues,
          infl1.d_fittedvalues,
          rtol=5e-9,
          atol=1e-14,
      )
      assert_allclose(
          infl0.d_fittedvalues_scaled,
          infl1.d_fittedvalues_scaled,
          rtol=5e-9,
          atol=1e-14,
      )
  
imports: from statsmodels.compat.pandas import testing
  import os.path
  import numpy
  from numpy.testing import assert_allclose
  import pandas
  import pytest
  from statsmodels.regression.linear_model import OLS
  from statsmodels.genmod.generalized_linear_model import GLM
  from statsmodels.genmod import families
  from statsmodels.stats.outliers_influence import MLEInfluence
label_desc: Use image node_id 1 for calling the InfluenceCompareExact obj's underlying member method code with example usage: obj.test_basics() without return types