statsmodels.stats.outliers_influence.OLSInfluence.dffits#
- OLSInfluence.dffits[source]#
dffits measure for influence of an observation
- Returns:
- dffits
float The dffits measure for each observation, which is a measure of the influence of a single data point on the predicted value of a model.
- dffits_threshold
float The threshold to determine if the influence of an observation is large. The threshold is 2 * sqrt(k / n).
basedonresid_studentized_external,usesresultsfrom- leave-one-observation-out loop.
Itisrecommendedthatobservationswithdffitslargethanathresholdof2sqrt{k/n}wherekisthenumberofparameters,shouldbeinvestigated.BasedonWikipedia <https://en.wikipedia.org/wiki/DFFITS>_
- dffits