code: def test_basics(self):
      # needs to override attributes that are not equivalent,
      # i.e. not available or different definition like external vs internal
      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,
      )
      assert_allclose(
          infl0.cooks_distance,
          infl1.cooks_distance,
          rtol=1e-7,
          atol=1e-14,
      )  # very small values possible
      assert_allclose(infl0.dfbetas, infl1.dfbetas, rtol=0.1)  # changed
      # OLSInfluence only has looo dfbeta/d_params
      assert_allclose(
          infl0.d_params, infl1.dfbeta, rtol=1e-9, atol=1e-14
      )
      # d_fittedvalues is not available in OLSInfluence, i.e. only scaled dffits
      # assert_allclose(infl0.d_fittedvalues, infl1.d_fittedvalues, rtol=1e-9)
      assert_allclose(
          infl0.d_fittedvalues_scaled,
          infl1.dffits_internal[0],
          rtol=1e-9,
      )
  
      # specific to linear link
      assert_allclose(infl0.d_linpred, infl0.d_fittedvalues, rtol=1e-12)
      assert_allclose(
          infl0.d_linpred_scaled,
          infl0.d_fittedvalues_scaled,
          rtol=1e-12,
      )
  
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 2 for calling the TestInfluenceGaussianGLMOLS obj's underlying member method code with example usage: obj.test_basics() without return types