CookD
is a possible value for the RegressionReport option for Regress and DesignedRegress which represents a list of Cook's distances.
CookD
CookD
is a possible value for the RegressionReport option for Regress and DesignedRegress which represents a list of Cook's distances.
Details and Options
- To use CookD, you first need to load the Regression Common Functions Package. You can do this by using Needs["LinearRegression`"], which will automatically load the Regression Common Functions Package, or you can load the package directly by using Needs["RegressionCommon`"].
- CookD is a diagnostic for identifying highly influential points.
- CookD gives a list of Cook's distances for the data points.
- CookD is equivalent to HatDiagonal/(1-HatDiagonal) StandardizedResiduals2/p where p is the number of parameters in the model.
Examples
Basic Examples (1)
Needs["LinearRegression`"]data = {{0.05, 90}, {0.09, 95}, {0.14, 110},
{0.17, 125}, {0.2, 140}, {0.21, 150},
{0.23, 175}, {0.25, 190}, {0.3, 210},
{0.35, 255}};CookD for a linear regression:
Regress[data, {1, x ^ 2}, x, RegressionReport -> {CookD}]Tech Notes
Related Guides
Text
Wolfram Research (2007), CookD, Wolfram Language function, https://reference.wolfram.com/language/RegressionCommon/ref/CookD.html.
CMS
Wolfram Language. 2007. "CookD." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/RegressionCommon/ref/CookD.html.
APA
Wolfram Language. (2007). CookD. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/RegressionCommon/ref/CookD.html
BibTeX
@misc{reference.wolfram_2026_cookd, author="Wolfram Research", title="{CookD}", year="2007", howpublished="\url{https://reference.wolfram.com/language/RegressionCommon/ref/CookD.html}", note=[Accessed: 15-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_cookd, organization={Wolfram Research}, title={CookD}, year={2007}, url={https://reference.wolfram.com/language/RegressionCommon/ref/CookD.html}, note=[Accessed: 15-June-2026]}