class_docstr: Use any regression model for Regression FDR analysis.
  
  Parameters
  ----------
  parent : RegressionFDR
      The RegressionFDR instance to which this effect size is
      applied.
  model_cls : class
      Any model with appropriate fit or fit_regularized
      functions
  regularized : bool
      If True, use fit_regularized to fit the model
  model_kws : dict
      Keywords passed to model initializer
  fit_kws : dict
      Dictionary of keyword arguments for fit or fit_regularized
class_docstr_tok: ["Use","any","regression","model","for","Regression","FDR","analysis",".","Parameters","--","--","--","--","--","parent",":","RegressionFDR","The","RegressionFDR","instance","to","which","this","effect","size","is","applied",".","model_cls",":","class","Any","model","with","appropriate","fit","or","fit_regularized","functions","regularized",":","bool","If","True",",","use","fit_regularized","to","fit","the","model","model_kws",":","dict","Keywords","passed","to","model","initializer","fit_kws",":","dict","Dictionary","of","keyword","arguments","for","fit","or","fit_regularized"]
code: def stats(self, parent):
      model = self.model_cls(
          parent.endog, parent.exog, **self.model_kws
      )
      if self.regularized:
          params = model.fit_regularized(**self.fit_kws).params
      else:
          params = model.fit(**self.fit_kws).params
      q = len(params) // 2
      stats = np.abs(params[0:q]) - np.abs(params[q:])
      return stats
  
file_path: statsmodels/statsmodels/stats/knockoff_regeffects.py
imports: import numpy
label_desc: Use image node_id 2 for calling the RegModelEffects obj's underlying member method code with example usage: obj.stats(parent) and returns: stats