code: def test_tost_log():
      x1, x2 = clinic[:15, 2], clinic[15:, 2]
  
      resp = smws.ttost_paired(x1, x2, 0.8, 1.25, transform=np.log)
      assert_almost_equal(resp[0], tost_clinic_1_paired.p_value, 13)
  
      resi = smws.ttost_ind(
          x1, x2, 0.8, 1.25, transform=np.log, usevar="unequal"
      )
      assert_almost_equal(resi[0], tost_clinic_1_indep.p_value, 13)
  
imports: import numpy
  from numpy.testing import assert_almost_equal, assert_equal, assert_
  import pytest
  import statsmodels.stats.weightstats
  from statsmodels.tools.testing import Holder
label_desc: Use image node_id 2 for calling a global function with example usage: test_tost_log() without return types