class_docstr: Results class for Granger-causality and instantaneous causality.
  
  Parameters
  ----------
  causing : list of str
      This list contains the potentially causing variables.
  caused : list of str
      This list contains the potentially caused variables.
  test_statistic : float
  crit_value : float
  pvalue : float
  df : int
      Degrees of freedom.
  signif : float
      Significance level.
  test : str {``"granger"``, ``"inst"``}, default: ``"granger"``
      If ``"granger"``, Granger-causality has been tested. If ``"inst"``,
      instantaneous causality has been tested.
  method : str {``"f"``, ``"wald"``}
      The kind of test. ``"f"`` indicates an F-test, ``"wald"`` indicates a
      Wald-test.
class_docstr_tok: ["Results","class","for","Granger-causality","and","instantaneous","causality",".","Parameters","--","--","--","--","--","causing",":","list","of","str","This","list","contains","the","potentially","causing","variables",".","caused",":","list","of","str","This","list","contains","the","potentially","caused","variables",".","test_statistic",":","float","crit_value",":","float","pvalue",":","float","df",":","int","Degrees","of","freedom",".","signif",":","float","Significance","level",".","test",":","str","{","``","``","granger","''","``",",","``","``","inst","''","``","}",",","default",":","``","``","granger","''","``","If","``","``","granger","''","``",",","Granger-causality","has","been","tested",".","If","``","``","inst","''","``",",","instantaneous","causality","has","been","tested",".","method",":","str","{","``","``","f","''","``",",","``","``","wald","''","``","}","The","kind","of","test",".","``","``","f","''","``","indicates","an","F-test",",","``","``","wald","''","``","indicates","a","Wald-test","."]
code: def __eq__(self, other):
      basic_test = super().__eq__(other)
      if not basic_test:
          return False
      test = self.test == other.test
      variables = (
          self.causing == other.causing and self.caused == other.caused
      )
      # instantaneous causality is a symmetric relation ==> causing and
      # caused may be swapped
      if not variables and self.test == "inst":
          variables = (
              self.causing == other.caused
              and self.caused == other.causing
          )
      return test and variables
  
file_path: statsmodels/statsmodels/tsa/vector_ar/hypothesis_test_results.py
imports: import numpy
  from statsmodels.iolib.table import SimpleTable
label_desc: Use image node_id 2 for calling the CausalityTestResults obj's underlying member method code with example usage: obj.__eq__(other) and returns: unknown, False