code: def test_equivalence(self):
      data = self.data
  
      # compare no transform with standard anova
      res = smo.equivalence_scale_oneway(
          data, 0.5, method="unequal", center=0, transform="identity"
      )
      res2 = equivalence_oneway(self.data, 0.5, use_var="unequal")
  
      assert_allclose(res.pvalue, res2.pvalue, rtol=1e-13)
      assert_allclose(res.statistic, res2.statistic, rtol=1e-13)
      assert_allclose(res.df, res2.df)
  
      res = smo.equivalence_scale_oneway(
          data, 0.5, method="bf", center=0, transform="identity"
      )
      res2 = equivalence_oneway(self.data, 0.5, use_var="bf")
  
      assert_allclose(res.pvalue, res2.pvalue, rtol=1e-13)
      assert_allclose(res.statistic, res2.statistic, rtol=1e-13)
      assert_allclose(res.df, res2.df)
  
imports: import numpy
  from numpy.testing import assert_allclose, assert_equal
  import pytest
  from statsmodels.regression.linear_model import OLS
  import statsmodels.stats.power
  import statsmodels.stats.oneway
  from statsmodels.stats.oneway import confint_effectsize_oneway, confint_noncentrality, effectsize_oneway, anova_oneway, anova_generic, equivalence_oneway, equivalence_oneway_generic, power_equivalence_oneway, _power_equivalence_oneway_emp, f2_to_wellek, fstat_to_wellek, wellek_to_f2
  from statsmodels.stats.robust_compare import scale_transform
  from statsmodels.stats.contrast import wald_test_noncent_generic, wald_test_noncent, _offset_constraint
label_desc: Use image node_id 5 for calling the TestOnewayScale obj's underlying member method code with example usage: obj.test_equivalence() without return types