当前位置:网站首页>Knowledge about the determination coefficient R2 and the relationship with the correlation coefficient
Knowledge about the determination coefficient R2 and the relationship with the correlation coefficient
2022-06-26 14:12:00 【Orange tea must be ^ -^】
Coefficient of determination R2 There are many formulas for calculating , Calculate with different formulas under different conditions , To get the correct coefficient of determination ( Goodness of fit ), Let's make a summary to consolidate the knowledge points .
1、R2 The value is usually [0-1] Between the value of the , The closer we get 1 It shows that the better the fitting . But it often happens R2 Greater than 1 The situation of , This does not mean that your model must be wrong ,R2 It is used to calculate the goodness of fit of linear regression model , Using linear regression R2 The fitting of nonlinear regression model calculated by formula may occur R2 Greater than 1 The situation of . General linear regression model calculation R2 The formula of is :


among SST=SSR+SSE,SSR Is the sum of regression squares ,SST Is the sum of the total squares ,SSE Is the sum of the squares of the residuals ( The residual is the predicted data - Actual data :pre_y-y).
2、 The model is a nonlinear regression model , It can also be used. R2 To assess the , The formula is as follows :

among pre_y Is forecast data ,y For actual data ,l Number of samples for each indicator .
The correlation coefficient r It refers to the statistical index that reflects the close relationship between variables . According to the different characteristics between related phenomena , The names of the statistical indicators are different . For example, the statistical index that reflects the linear correlation between the two variables is called the correlation coefficient ( The square of the correlation coefficient is called Determination factor ); Will reflect the relationship between the two variables Curve correlation The statistical index of the relationship is called the nonlinear correlation coefficient 、 Non linear determination coefficient ; The statistical index reflecting the multivariate linear correlation is called Complex correlation coefficient 、 Complex decision coefficient, etc .

边栏推荐
猜你喜欢

Use of wangeditor rich text editor

Freefilesync folder comparison and synchronization software

AGCO AI frontier promotion (6.26)

创建一个自己的跨域代理服务器

Basic type of typescript

李航老师新作《机器学习方法》上市了!附购买链接

Wechat applet magic bug - choose to replace the token instead of clearing the token, wx Getstoragesync will take the old token value instead of the new token value

C language | file operation and error prone points

Self created notes (unique in the whole network, continuously updated)

What is the use of index aliases in ES
随机推荐
[cqoi2015] task query system
Is expression of D
Comparison of disk partition modes (MBR and GPT)
永远不要使用Redis过期监听实现定时任务!
On insect classes and objects
李航老师新作《机器学习方法》上市了!附购买链接
8. Ribbon load balancing service call
What is the use of index aliases in ES
ThreadLocal giant pit! Memory leaks are just Pediatrics
CVPR 2022文档图像分析与识别相关论文26篇汇集简介
HW蓝队溯源流程详细整理
Calculate the distance between two points (2D, 3D)
Wechat applet -picker component is repackaged and the disabled attribute is added -- above
FreeFileSync 文件夹比较与同步软件
Wechat applet -picker component is repackaged and the disabled attribute is added -- below
Zero basics of C language lesson 7: break & continue
[node.js] MySQL module
Postman自动化接口测试
Record: why is there no lightning 4 interface graphics card docking station and mobile hard disk?
Niuke challenge 53:c. strange magic array