docstr: Fits an AFT model and returns parameters.
  
  Parameters
  ----------
  None
  
  
  Returns
  -------
  Fitted params
  
  Notes
  -----
  To avoid dividing by zero, max(endog) is assumed to be uncensored.
docstr_tok: ["Fits","an","AFT","model","and","returns","parameters",".","Parameters","--","--","--","--","--","None","Returns","--","--","--","-","Fitted","params","Notes","--","--","-","To","avoid","dividing","by","zero",",","max","(","endog",")","is","assumed","to","be","uncensored","."]
code: def params(self):
      """
  
      Fits an AFT model and returns parameters.
  
      Parameters
      ----------
      None
  
  
      Returns
      -------
      Fitted params
  
      Notes
      -----
      To avoid dividing by zero, max(endog) is assumed to be uncensored.
      """
      self.model.modif_censors = np.copy(self.model.censors)
      self.model.modif_censors[-1] = 1
      wts = self.model._make_km(
          self.model.endog, self.model.modif_censors
      )
      res = WLS(self.model.endog, self.model.exog, wts).fit()
      params = res.params
      return params
  
imports: import warnings
  import numpy
  from scipy import optimize
  from scipy.stats import chi2
  from statsmodels.regression.linear_model import OLS, WLS
  from statsmodels.tools import add_constant
  from statsmodels.tools.sm_exceptions import IterationLimitWarning
  from .descriptive import _OptFuncts
label_desc: Use image node_id 2 for calling the AFTResults obj's underlying member method code with example usage: obj.params() and returns: params