code: def test_given_independent_categorical_variables_when_perform_regression_based_pairwise_independence_test_then_p_value_is_greater_than_05():
      x = np.random.normal(0, 1, 5000)
      y = np.random.choice(2, 5000).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 8 for calling a global function with example usage: test_given_independent_categorical_variables_when_perform_regression_based_pairwise_independence_test_then_p_value_is_greater_than_05() without return types