code: def test_given_dependent_categorical_variables_when_perform_regression_based_pairwise_independence_test_then_p_value_is_less_than_05():
      x = np.random.normal(0, 1, 5000)
      y = []
  
      for v in x:
          if v > 0:
              y.append(0)
          else:
              y.append(1)
      y = np.array(y).astype(str)
  
      assert regression_based(x, y) < 0.05
  
file_path: dowhy/tests/gcm/independence_test/test_regression.py
imports: import random
  import numpy
  import pytest
  from flaky import flaky
  from dowhy.gcm.independence_test import regression_based
  from dowhy.gcm.util.general import set_random_seed
  from tests.gcm.independence_test.test_kernel import _generate_categorical_data
label_desc: Use image node_id 9 for calling a global function with example usage: test_given_dependent_categorical_variables_when_perform_regression_based_pairwise_independence_test_then_p_value_is_less_than_05() without return types