code: def test_tost_asym():
      x1, x2 = clinic[:15, 2], clinic[15:, 2]
      # Note: x1, x2 reversed by definition in multeq.dif
      assert_almost_equal(
          x2.mean() - x1.mean(), tost_clinic_1_asym.estimate, 13
      )
      resa = smws.ttost_ind(x2, x1, -1.5, 0.6, usevar="unequal")
      assert_almost_equal(resa[0], tost_clinic_1_asym.p_value, 13)
  
      # multi-endpoints, asymmetric bounds, vectorized
      resall = smws.ttost_ind(
          clinic[15:, 2:7],
          clinic[:15, 2:7],
          [-1.0, -1.0, -1.5, -1.5, -1.5],
          0.6,
          usevar="unequal",
      )
      assert_almost_equal(
          resall[0], tost_clinic_all_no_multi.p_value, 13
      )
  
      # SMOKE tests: foe multi-endpoint vectorized, k on k
      resall = smws.ttost_ind(
          clinic[15:, 2:7],
          clinic[:15, 2:7],
          np.exp([-1.0, -1.0, -1.5, -1.5, -1.5]),
          0.6,
          usevar="unequal",
          transform=np.log,
      )
      resall = smws.ttost_ind(
          clinic[15:, 2:7],
          clinic[:15, 2:7],
          [-1.0, -1.0, -1.5, -1.5, -1.5],
          0.6,
          usevar="unequal",
          transform=np.exp,
      )
  
      resall = smws.ttost_paired(
          clinic[15:, 2:7],
          clinic[:15, 2:7],
          [-1.0, -1.0, -1.5, -1.5, -1.5],
          0.6,
          transform=np.log,
      )
      resall = smws.ttost_paired(
          clinic[15:, 2:7],
          clinic[:15, 2:7],
          [-1.0, -1.0, -1.5, -1.5, -1.5],
          0.6,
          transform=np.exp,
      )
  
      resall = smws.ttest_ind(
          clinic[15:, 2:7],
          clinic[:15, 2:7],
          value=[-1.0, -1.0, -1.5, -1.5, -1.5],
      )
  
      # k on 1: compare all with reference
      resall = smws.ttost_ind(
          clinic[15:, 2:7],
          clinic[:15, 2:3],
          [-1.0, -1.0, -1.5, -1.5, -1.5],
          0.6,
          usevar="unequal",
      )
      resa3_2 = smws.ttost_ind(
          clinic[15:, 3:4],
          clinic[:15, 2:3],
          [-1.0, -1.0, -1.5, -1.5, -1.5],
          0.6,
          usevar="unequal",
      )
      assert_almost_equal(resall[0][1], resa3_2[0][1], decimal=13)
      resall = smws.ttost_ind(
          clinic[15:, 2],
          clinic[:15, 2],
          [-1.0, -0.5, -0.7, -1.5, -1.5],
          0.6,
          usevar="unequal",
      )
      resall = smws.ttost_ind(
          clinic[15:, 2],
          clinic[:15, 2],
          [-1.0, -0.5, -0.7, -1.5, -1.5],
          np.repeat(0.6, 5),
          usevar="unequal",
      )
  
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 3 for calling a global function with example usage: test_tost_asym() without return types