docstr: a measure for the fraction of the data in the estimation result
  
  The share of the prior information is `1 - share_data`.
  
  Returns
  -------
  share : float between 0 and 1
      share of data defined as the ration between effective degrees of
      freedom of the model and the number (TODO should be rank) of the
      explanatory variables.
docstr_tok: ["a","measure","for","the","fraction","of","the","data","in","the","estimation","result","The","share","of","the","prior","information","is","`","1","-","share_data","`",".","Returns","--","--","--","-","share",":","float","between","0","and","1","share","of","data","defined","as","the","ration","between","effective","degrees","of","freedom","of","the","model","and","the","number","(","TODO","should","be","rank",")","of","the","explanatory","variables","."]
code: def share_data(self):
      """a measure for the fraction of the data in the estimation result
  
      The share of the prior information is `1 - share_data`.
  
      Returns
      -------
      share : float between 0 and 1
          share of data defined as the ration between effective degrees of
          freedom of the model and the number (TODO should be rank) of the
          explanatory variables.
      """
  
      # this is hatmatrix_trace / self.exog.shape[1]
      # This needs to use rank of exog and not shape[1],
      # since singular exog is allowed
      return (self.df_model + 1) / self.model.rank
  
imports: from statsmodels.compat.python import lrange
  import numpy
  from statsmodels.tools.decorators import cache_readonly
  from statsmodels.regression.linear_model import OLS, GLS, RegressionResults
  from statsmodels.regression.feasible_gls import atleast_2dcols
label_desc: Use image node_id 8 for calling the TheilRegressionResults obj's underlying member method code with example usage: obj.share_data() and returns: unknown