Is there a way to compute the coefficient of determination $R^2$ in a recursive way?
$R^2$ is defined as following:
$$R^2 \equiv 1 - \frac{SS_{\rm err} }{ SS_{\rm tot}} = 1 - \frac{\sum_i (y_i - f_i)^2}{\sum_i (y_i-\bar{y})^2}$$
where $f_i$ is the estimated value
Regards