code: def test_exactly_same_vars(self):
      x = np.random.choice([0, 1], size=1000)
      y = x.copy()
      df = pd.DataFrame({"x": x, "y": y})
  
      for t in [
          chi_square,
          g_sq,
          log_likelihood,
          freeman_tuckey,
          modified_log_likelihood,
          neyman,
          cressie_read,
      ]:
          stat, p_value, dof = t(
              X="x", Y="y", Z=[], data=df, boolean=False
          )
          self.assertEqual(dof, 1)
          np_test.assert_almost_equal(p_value, 0, decimal=5)
  
file_path: pgmpy/pgmpy/tests/test_estimators/test_CITests.py
imports: import unittest
  import math
  import numpy
  import pandas
  from numpy import testing
  from pgmpy.estimators.CITests import *
label_desc: Use image node_id 4 for calling the TestChiSquare obj's underlying member method code with example usage: obj.test_exactly_same_vars() without return types