RegressionCommon`
RegressionCommon`

HatDiagonal

As of Version 7.0, HatDiagonal has become a property of LinearModelFit and NonlinearModelFit.

HatDiagonal

is a possible value for the RegressionReport option which represents the diagonal of the hat matrix.

更多信息和选项

  • To use HatDiagonal, you first need to load the Regression Common Functions Package. You can do this by using Needs["LinearRegression`"] or Needs["NonlinearRegression`"], which will automatically load the Regression Common Functions Package, or you can load the package directly by using Needs["RegressionCommon`"].
  • HatDiagonal is used in diagnostics for influence of data points.
  • The hat matrix is given by where is the design matrix.
  • If is the response vector, then yields the predicted response vector.

范例

基本范例  (1)

Sample data:

HatDiagonal for a linear regression:

Wolfram Research (2007),HatDiagonal,Wolfram 语言函数,https://reference.wolfram.com/language/RegressionCommon/ref/HatDiagonal.html.

文本

Wolfram Research (2007),HatDiagonal,Wolfram 语言函数,https://reference.wolfram.com/language/RegressionCommon/ref/HatDiagonal.html.

CMS

Wolfram 语言. 2007. "HatDiagonal." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/RegressionCommon/ref/HatDiagonal.html.

APA

Wolfram 语言. (2007). HatDiagonal. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/RegressionCommon/ref/HatDiagonal.html 年

BibTeX

@misc{reference.wolfram_2024_hatdiagonal, author="Wolfram Research", title="{HatDiagonal}", year="2007", howpublished="\url{https://reference.wolfram.com/language/RegressionCommon/ref/HatDiagonal.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_hatdiagonal, organization={Wolfram Research}, title={HatDiagonal}, year={2007}, url={https://reference.wolfram.com/language/RegressionCommon/ref/HatDiagonal.html}, note=[Accessed: 22-November-2024 ]}