matlab中的r平方是什么意思,R平方:判定系数

您所在的位置:网站首页 R平方是什么意思 matlab中的r平方是什么意思,R平方:判定系数

matlab中的r平方是什么意思,R平方:判定系数

2024-05-30 10:50| 来源: 网络整理| 查看: 265

R-square: The coefficient of determination

Compute coefficient of determination of data fit model and RMSE

[r2 rmse] = rsquare(y,f)

[r2 rmse] = rsquare(y,f,c)

RSQUARE computes the coefficient of determination (R-square) value from

actual data Y and model data F. The code uses a general version of

R-square, based on comparing the variability of the estimation errors

with the variability of the original values. RSQUARE also outputs the

root mean squared error (RMSE) for the user's convenience.

Note: RSQUARE ignores comparisons involving NaN values.

INPUTS

Y : Actual data

F : Model fit

OPTION

C : Constant term in model

R-square may be a questionable measure of fit when no

constant term is included in the model.

[DEFAULT] TRUE : Use traditional R-square computation

FALSE : Uses altern



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3