|
|
|
|
|
by kgwgk
711 days ago
|
|
> I think that you are using here a different definition of R^2 Different from what? According to wikipedia: The most general definition of the coefficient of determination is R^2 = 1 - SS_res / SS_tot ( = 1 - 0.2475 / 0.25 = 0.01 in this case) Edit to clarify the definition above: SS_res is the sum of squares of residuals (also called the residual sum of squares) ∑( y_i - predicted_i )^2 SS_tot is the total sum of squares (proportional to the variance of the data) ∑( y_i - ∑y_i/N )^2 |
|
The population variance is the sum of the Between Group Variance and the Within Group Variance weighted by the number of elements in each group.