Cooksd: Difference between revisions

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
imported>Benjamin
No edit summary
imported>Benjamin
Line 19: Line 19:
====Outputs====
====Outputs====


* '''distances''' an m-by-1 vector of the calculated Cooks distances for each sample.
* '''distances''' = an m-by-1 vector of the calculated Cooks distances for each sample.


===See Also===
===See Also===


[[plotscores]], [[leverag]], [[figmerit]], [[pls]]
[[plotscores]], [[leverag]], [[figmerit]], [[pls]]

Revision as of 12:02, 15 August 2017

Purpose

Calculates Cooks Distance of samples for a regression model.

Synopsis

distances = plotscores(model)

Description

Cooks distance measures how much the model would change if a given sample is left out.

  • Distance > 0.5: ith sample may be influential and may be worthy of further investigation.
  • Distance > 1: ith sample is quite likely to be influential.

Inputs

  • model = a standard model structure.

(Note: Currently only PLS models are supported.)

Outputs

  • distances = an m-by-1 vector of the calculated Cooks distances for each sample.

See Also

plotscores, leverag, figmerit, pls