docstr: Parameters
  ----------
  tdm: TermDocMatrix
  category: str, category name
  
  Returns
  -------
  pd.DataFrame(['coef', 'p-val'])
docstr_tok: ["Parameters","--","--","--","--","--","tdm",":","TermDocMatrix","category",":","str",",","category","name","Returns","--","--","--","-","pd.DataFrame","(","[","'coef","'",",","'","p-val","'","]",")"]
code: def get_scores_and_p_values(self, tdm, category):
      """
      Parameters
      ----------
      tdm: TermDocMatrix
      category: str, category name
  
      Returns
      -------
      pd.DataFrame(['coef', 'p-val'])
      """
      X = tdm._X
      y = self._make_response_variable_1_or_negative_1(category, tdm)
      pX = X / X.sum(axis=1)
      ansX = self._anscombe_transform(pX.copy())
      (
          B,
          istop,
          itn,
          r1norm,
          r2norm,
          anorm,
          acond,
          arnorm,
          xnorm,
          var,
      ) = lsqr(A=ansX, b=y, calc_var=True)
  
imports: import numpy
  from scipy.sparse.linalg import lsqr
label_desc: Use image node_id 1 for calling the OLSUngarStyle obj's underlying member method code with example usage: obj.get_scores_and_p_values(tdm, category) without return types