class_docstr: Results class for hypothesis tests.
  
  Parameters
  ----------
  test_statistic : float
  crit_value : float
  pvalue : float, 0 <= `pvalue` <= 1
  df : int
      Degrees of freedom.
  signif : float, 0 < `signif` < 1
      Significance level.
  method : str
      The kind of test (e.g. ``"f"`` for F-test, ``"wald"`` for Wald-test).
  title : str
      A title describing the test. It will be part of the summary.
  h0 : str
      A string describing the null hypothesis. It will be used in the
      summary.
class_docstr_tok: ["Results","class","for","hypothesis","tests",".","Parameters","--","--","--","--","--","test_statistic",":","float","crit_value",":","float","pvalue",":","float",",","0","<","=","`","pvalue","`","<","=","1","df",":","int","Degrees","of","freedom",".","signif",":","float",",","0","<","`","signif","`","<","1","Significance","level",".","method",":","str","The","kind","of","test","(","e.g",".","``","``","f","''","``","for","F-test",",","``","``","wald","''","``","for","Wald-test",")",".","title",":","str","A","title","describing","the","test",".","It","will","be","part","of","the","summary",".","h0",":","str","A","string","describing","the","null","hypothesis",".","It","will","be","used","in","the","summary","."]
code: def __init__(
      self,
      test_statistic,
      crit_value,
      pvalue,
      df,
      signif,
      method,
      title,
      h0,
  ):
      self.test_statistic = test_statistic
      self.crit_value = crit_value
      self.pvalue = pvalue
      self.df = df
      self.signif = signif
      self.method = method.capitalize()
      if test_statistic < crit_value:
          self.conclusion = "fail to reject"
      else:
          self.conclusion = "reject"
      self.title = title
      self.h0 = h0
      self.conclusion_str = "Conclusion: %s H_0" % self.conclusion
      self.signif_str = f" at {self.signif:.0%} significance level"
  
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 1 to create a new HypothesisTestResults object  with example: obj = HypothesisTestResults(test_statistic, crit_value, pvalue, df, signif, method, title, h0)