fbpx
维基百科

殘差平方和

殘差平方和(英語:Residual sum of squares,縮寫:RSS)在統計學上是指將所有做預測時的誤差值平方加起來得出的數:

它是衡量数据与估计模型之间差异的尺度。较小的残差平方和表示模型能良好地拟合数据。在确定参数和选择模型时,残差平方和是一种最优性准则。通常,总的方差=已经被模型解释了的平方和+残差平方和。

殘差平方和這個數值在機器學習上是普通最小二乘法演算法的重心。

与皮尔逊相关系数的关系 编辑

对于两变量x和y, 它们的数据组的均值分别记为 ,则两数据组的皮尔逊相关系数 ,其中,    .

给定最小二乘回归线方程为  , 其中   ;  . 则这时残差平方和可以表示为:

 

通过皮尔逊相关系数的公式,可以得到  .

殘差平方和, 此條目可参照英語維基百科相應條目来扩充, 2021年1月4日, 若您熟悉来源语言和主题, 请协助参考外语维基百科扩充条目, 请勿直接提交机械翻译, 也不要翻译不可靠, 低品质内容, 依版权协议, 译文需在编辑摘要注明来源, 或于讨论页顶部标记, href, template, translated, page, html, title, template, translated, page, translated, page, 标签, 英語, residual, squares, 縮寫, 在統計學上是. 此條目可参照英語維基百科相應條目来扩充 2021年1月4日 若您熟悉来源语言和主题 请协助参考外语维基百科扩充条目 请勿直接提交机械翻译 也不要翻译不可靠 低品质内容 依版权协议 译文需在编辑摘要注明来源 或于讨论页顶部标记 a href Template Translated page html title Template Translated page Translated page a 标签 殘差平方和 英語 Residual sum of squares 縮寫 RSS 在統計學上是指將所有做預測時的誤差值平方加起來得出的數 R S S i 1 n e i 2 displaystyle RSS sum i 1 n e i 2 它是衡量数据与估计模型之间差异的尺度 较小的残差平方和表示模型能良好地拟合数据 在确定参数和选择模型时 残差平方和是一种最优性准则 通常 总的方差 已经被模型解释了的平方和 残差平方和 殘差平方和這個數值在機器學習上是普通最小二乘法等演算法的重心 与皮尔逊相关系数的关系 编辑对于两变量x和y 它们的数据组的均值分别记为x y displaystyle bar x bar y nbsp 则两数据组的皮尔逊相关系数为 r S x y S x x S y y displaystyle r frac S xy sqrt S xx S yy nbsp 其中 S x y i 1 n x x i y y i displaystyle S xy sum i 1 n bar x x i bar y y i nbsp S x x i 1 n x x i 2 displaystyle S xx sum i 1 n bar x x i 2 nbsp S y y i 1 n y y i 2 displaystyle S yy sum i 1 n bar y y i 2 nbsp 给定最小二乘回归线方程为 y a x b f x displaystyle hat y ax b f x nbsp 其中 b y a x displaystyle b bar y a bar x nbsp a S x y S x x displaystyle a frac S xy S xx nbsp 则这时残差平方和可以表示为 RSS i 1 n y i f x i 2 i 1 n y i a x i b 2 i 1 n y i a x i y a x 2 i 1 n a x x i y y i 2 a 2 S x x 2 a S x y S y y S y y a S x y S y y 1 S x y 2 S x x S y y displaystyle begin aligned operatorname RSS amp sum i 1 n y i f x i 2 sum i 1 n y i ax i b 2 sum i 1 n y i ax i bar y a bar x 2 5pt amp sum i 1 n a bar x x i bar y y i 2 a 2 S xx 2aS xy S yy S yy aS xy S yy left 1 frac S xy 2 S xx S yy right end aligned nbsp 通过皮尔逊相关系数的公式 可以得到 RSS S y y 1 r 2 displaystyle operatorname RSS S yy 1 r 2 nbsp 取自 https zh wikipedia org w index php title 殘差平方和 amp oldid 77728692, 维基百科,wiki,书籍,书籍,图书馆,

文章

,阅读,下载,免费,免费下载,mp3,视频,mp4,3gp, jpg,jpeg,gif,png,图片,音乐,歌曲,电影,书籍,游戏,游戏。