class_docstr: Results class for QIF Regression
docstr: Summarize the QIF regression results
  
  Parameters
  ----------
  yname : str, optional
      Default is `y`
  xname : list[str], optional
      Names for the exogenous variables, default is `var_#` for ## in
      the number of regressors. Must match the number of parameters in
      the model
  title : str, optional
      Title for the top table. If not None, then this replaces
      the default title
  alpha : float
      significance level for the confidence intervals
  
  Returns
  -------
  smry : Summary instance
      this holds the summary tables and text, which can be
      printed or converted to various output formats.
  
  See Also
  --------
  statsmodels.iolib.summary.Summary : class to hold summary results
docstr_tok: ["Summarize","the","QIF","regression","results","Parameters","--","--","--","--","--","yname",":","str",",","optional","Default","is","`","y","`","xname",":","list","[","str","]",",","optional","Names","for","the","exogenous","variables",",","default","is","`","var_","#","`","for","#","#","in","the","number","of","regressors",".","Must","match","the","number","of","parameters","in","the","model","title",":","str",",","optional","Title","for","the","top","table",".","If","not","None",",","then","this","replaces","the","default","title","alpha",":","float","significance","level","for","the","confidence","intervals","Returns","--","--","--","-","smry",":","Summary","instance","this","holds","the","summary","tables","and","text",",","which","can","be","printed","or","converted","to","various","output","formats",".","See","Also","--","--","--","--","statsmodels.iolib.summary.Summary",":","class","to","hold","summary","results"]
code: def summary(self, yname=None, xname=None, title=None, alpha=0.05):
      """
      Summarize the QIF regression results
  
      Parameters
      ----------
      yname : str, optional
          Default is `y`
      xname : list[str], optional
          Names for the exogenous variables, default is `var_#` for ## in
          the number of regressors. Must match the number of parameters in
          the model
      title : str, optional
          Title for the top table. If not None, then this replaces
          the default title
      alpha : float
          significance level for the confidence intervals
  
      Returns
      -------
      smry : Summary instance
          this holds the summary tables and text, which can be
          printed or converted to various output formats.
  
      See Also
      --------
      statsmodels.iolib.summary.Summary : class to hold summary results
      """
  
      top_left = [
          ("Dep. Variable:", None),
          ("Method:", ["QIF"]),
          ("Family:", [self.model.family.__class__.__name__]),
          (
              "Covariance structure:",
              [self.model.cov_struct.__class__.__name__],
          ),
          ("Date:", None),
          ("Time:", None),
      ]
  
      NY = [len(y) for y in self.model.groups_ix]
  
      top_right = [
          ("No. Observations:", [sum(NY)]),
          ("No. clusters:", [len(NY)]),
          ("Min. cluster size:", [min(NY)]),
          ("Max. cluster size:", [max(NY)]),
          ("Mean cluster size:", ["%.1f" % np.mean(NY)]),
          ("Scale:", ["%.3f" % self.scale]),
      ]
  
      if title is None:
          title = (
              self.model.__class__.__name__ + " " + "Regression Results"
          )
  
      # Override the exog variable names if xname is provided as an
      # argument.
      if xname is None:
          xname = self.model.exog_names
  
      if yname is None:
          yname = self.model.endog_names
  
      # Create summary table instance
      from statsmodels.iolib.summary import Summary
  
      smry = Summary()
      smry.add_table_2cols(
          self,
          gleft=top_left,
          gright=top_right,
          yname=yname,
          xname=xname,
          title=title,
      )
      smry.add_table_params(
          self, yname=yname, xname=xname, alpha=alpha, use_t=False
      )
  
      return smry
  
imports: import numpy
  from collections import defaultdict
  import statsmodels.base.model
  from statsmodels.genmod import families
  from statsmodels.genmod.generalized_linear_model import GLM
  from statsmodels.genmod.families import links
  from statsmodels.genmod.families import varfuncs
  import statsmodels.regression.linear_model
  import statsmodels.base.wrapper
  from statsmodels.tools.decorators import cache_readonly
label_desc: Use image node_id 5 for calling the QIFResults obj's underlying member method code with example usage: obj.summary(yname, xname, title, alpha) and returns: smry