假设一数据集包括y1,...,yn共n个观察值,相对应的模型预测值分别为f1,...,fn。定义残差ei = yi − fi,平均观察值为
于是可以得到总平方和
残差平方和
由此,决定系数可定义为
参考文献编辑
^Steel, R. G. D.; Torrie, J. H. Principles and Procedures of Statistics with Special Reference to the Biological Sciences. McGraw Hill. 1960.
^Glantz, Stanton A.; Slinker, B. K. Primer of Applied Regression and Analysis of Variance. McGraw-Hill. 1990. ISBN 0-07-023407-8.
^Draper, N. R.; Smith, H. Applied Regression Analysis. Wiley-Interscience. 1998. ISBN 0-471-17082-8.
^Devore, Jay L. Probability and Statistics for Engineering and the Sciences 8th. Boston, MA: Cengage Learning. 2011: 508–510. ISBN 0-538-73352-7.
四月 06, 2024
决定系数, 或稱判定系数, 英語, coefficient, determination, 记为r, 在统计学中用于度量應變數的变异中可由自变量解释部分所占的比例, 以此来判断迴歸模型的解释力, ssressstot, displaystyle, frac, color, blue, text, color, text, 示意图, 线性回归, 右侧, 的效果比起平均值, 左侧, 越好, 的值就越接近于1, 蓝色正方形表示线性回归的残差的平方, 红色正方形数据表示对于平均值的残差的平方, 对于简单线性回归而言, 为样. 决定系数 或稱判定系数 英語 Coefficient of determination 记为R 2 在统计学中用于度量應變數的变异中可由自变量解释部分所占的比例 以此来判断迴歸模型的解释力 1 2 3 决定系数R2 1 SSresSStot displaystyle R 2 1 frac color blue SS text res color red SS text tot 示意图 线性回归 右侧 的效果比起平均值 左侧 越好 决定系数的值就越接近于1 蓝色正方形表示线性回归的残差的平方 红色正方形数据表示对于平均值的残差的平方 对于简单线性回归而言 决定系数为样本相关系数的平方 4 当加入其他回归自变量后 决定系数相应地变为多重相关系数的平方 假设一数据集包括y1 yn共n个观察值 相对应的模型预测值分别为f1 fn 定义残差ei yi fi 平均观察值为 y 1n i 1nyi displaystyle bar y frac 1 n sum i 1 n y i 于是可以得到总平方和 SStot i yi y 2 displaystyle SS text tot sum i y i bar y 2 残差平方和 SSres i yi fi 2 iei2 displaystyle SS text res sum i y i f i 2 sum i e i 2 由此 决定系数可定义为 R2 1 SSresSStot displaystyle R 2 equiv 1 SS rm res over SS rm tot 参考文献 编辑 Steel R G D Torrie J H Principles and Procedures of Statistics with Special Reference to the Biological Sciences McGraw Hill 1960 Glantz Stanton A Slinker B K Primer of Applied Regression and Analysis of Variance McGraw Hill 1990 ISBN 0 07 023407 8 Draper N R Smith H Applied Regression Analysis Wiley Interscience 1998 ISBN 0 471 17082 8 Devore Jay L Probability and Statistics for Engineering and the Sciences 8th Boston MA Cengage Learning 2011 508 510 ISBN 0 538 73352 7 取自 https zh wikipedia org w index php title 决定系数 amp oldid 80959827, 维基百科,wiki,书籍,书籍,图书馆,