class_docstr: Polynomial smoother up to a given order.
  Fit based on weighted least squares.
  
  The x values can be specified at instantiation or when called.
  
  This is a 3 liner with OLS or WLS, see test.
  It's here as a test smoother for GAM
class_docstr_tok: ["Polynomial","smoother","up","to","a","given","order",".","Fit","based","on","weighted","least","squares",".","The","x","values","can","be","specified","at","instantiation","or","when","called",".","This","is","a","3","liner","with","OLS","or","WLS",",","see","test",".","It","'s","here","as","a","test","smoother","for","GAM"]
docstr: Residual degrees of freedom from last fit.
docstr_tok: ["Residual","degrees","of","freedom","from","last","fit","."]
code: def df_resid(self):
      """
      Residual degrees of freedom from last fit.
      """
      return self.N - self.order - 1
  
file_path: statsmodels/statsmodels/sandbox/nonparametric/smoothers.py
imports: import numpy
  from .None import kernels
label_desc: Use image node_id 6 for calling the PolySmoother obj's underlying member method code with example usage: obj.df_resid() and returns: unknown