statsmodels.stats.outliers_influence.MLEInfluence.plot_index¶
- MLEInfluence.plot_index(y_var='cooks', threshold=None, title=None, ax=None, idx=None, **kwds)¶
- index plot for influence attributes - Parameters:¶
- y_varstr
- Name of attribute or shortcut for predefined attributes that will be plotted on the y-axis. 
- thresholdNoneorfloat
- Threshold for adding annotation with observation labels. Observations for which the absolute value of the y_var is larger than the threshold will be annotated. Set to a negative number to label all observations or to a large number to have no annotation. 
- titlestr
- If provided, the title will replace the default “Index Plot” title. 
- axmatplolibaxisinstance
- The plot will be added to the ax if provided, otherwise a new figure is created. 
- idx{None,int}
- Some attributes require an additional index to select the y-var. In dfbetas this refers to the column indes. 
- kwdsoptionalkeywords
- Keywords will be used in the call to matplotlib scatter function. 
 
- y_var
 
  
    
      Last update:
      Jun 10, 2024