class_docstr: Results from combined estimate of means or effect sizes
  
  This currently includes intermediate results that might be removed
class_docstr_tok: ["Results","from","combined","estimate","of","means","or","effect","sizes","This","currently","includes","intermediate","results","that","might","be","removed"]
docstr: Test whether the means of all samples are the same
  
  currently no options, test uses chisquare distribution
  default might change depending on `use_t`
  
  Returns
  -------
  res : HolderTuple instance
      The results include the following attributes:
  
      - statistic : float
          Test statistic, ``q`` in meta-analysis, this is the
          pearson_chi2 statistic for the fixed effects model.
      - pvalue : float
          P-value based on chisquare distribution.
      - df : float
          Degrees of freedom, equal to number of studies or samples
          minus 1.
docstr_tok: ["Test","whether","the","means","of","all","samples","are","the","same","currently","no","options",",","test","uses","chisquare","distribution","default","might","change","depending","on","`","use_t","`","Returns","--","--","--","-","res",":","HolderTuple","instance","The","results","include","the","following","attributes",":","-","statistic",":","float","Test","statistic",",","``","q","``","in","meta-analysis",",","this","is","the","pearson_chi2","statistic","for","the","fixed","effects","model",".","-","pvalue",":","float","P-value","based","on","chisquare","distribution",".","-","df",":","float","Degrees","of","freedom",",","equal","to","number","of","studies","or","samples","minus","1","."]
code: def test_homogeneity(self):
      """Test whether the means of all samples are the same
  
      currently no options, test uses chisquare distribution
      default might change depending on `use_t`
  
      Returns
      -------
      res : HolderTuple instance
          The results include the following attributes:
  
          - statistic : float
              Test statistic, ``q`` in meta-analysis, this is the
              pearson_chi2 statistic for the fixed effects model.
          - pvalue : float
              P-value based on chisquare distribution.
          - df : float
              Degrees of freedom, equal to number of studies or samples
              minus 1.
      """
      pvalue = stats.chi2.sf(self.q, self.k - 1)
      res = HolderTuple(
          statistic=self.q, pvalue=pvalue, df=self.k - 1, distr="chi2"
      )
      return res
  
file_path: statsmodels/statsmodels/stats/meta_analysis.py
imports: import numpy
  import pandas
  from scipy import stats
  from statsmodels.stats.base import HolderTuple
label_desc: Use image node_id 4 for calling the CombineResults obj's underlying member method code with example usage: obj.test_homogeneity() and returns: res