Skip to content
Advertisement

Tag: coefficient-of-determination

Why do coefficient of determination, R², implementations produce different results?

When attempting to implement a python function for calculating the coefficient of determination, R², I noticed I got wildly different results depending on whose calculation sequence I used. The wikipedia page on R² gives a seemingly very clear explanation as to how R² should be calculated. My numpy interpretation of what is being said on the wiki page is the

Advertisement