negative r squared
이전 댓글 표시
I have fitted the line y=x which passes through origin to a bunch of data by using cftool. I got a negative r squared for the coefficient of determination. Could someone shed light on what that means? I know that y=x is not the best fit but I want to see how much is the determination coefficient if I force the data to be fitted to y=x.
Thanks.
답변 (1개)
Oleg Komarov
2011년 7월 7일
0 개 추천
Regressing through the origin doesn't give the R^2 you expect.
카테고리
도움말 센터 및 File Exchange에서 Get Started with Curve Fitting Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!