negative r squared

6 vues (au cours des 30 derniers jours)
AP
AP le 7 Juil 2011
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.

Réponses (1)

Oleg Komarov
Oleg Komarov le 7 Juil 2011
Regressing through the origin doesn't give the R^2 you expect.

Catégories

En savoir plus sur Get Started with Curve Fitting Toolbox dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by