code: def test_tost_transform_paired():
      raw = np.array(
          """\
         103.4 90.11  59.92 77.71  68.17 77.71  94.54 97.51
         69.48 58.21  72.17 101.3  74.37 79.84  84.44 96.06
         96.74 89.30  94.26 97.22  48.52 61.62  95.68 85.80""".split(),
          float,
      )
  
      x, y = raw.reshape(-1, 2).T
  
      res1 = smws.ttost_paired(x, y, 0.8, 1.25, transform=np.log)
      res_sas = (0.0031, (3.38, 0.0031), (-5.90, 0.00005))
      assert_almost_equal(res1[0], res_sas[0], 3)
      assert_almost_equal(res1[1:], res_sas[1:], 2)
      # result R tost
      assert_almost_equal(res1[0], tost_s_paired.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 5 for calling a global function with example usage: test_tost_transform_paired() without return types