> On 30 Sep 2015, at 02:08 , Michael Eisenring <[email protected]> wrote:
> 
> Can anyone tell me how to calculate the Total Corrected SS in R and how it
> can be implemented in my code?

It is just sum((y-mean(y))^2).

Beware that a fair amount of (somewhat silly) contention is going on in this 
area, though. In particular, the formula can give negative values, which is 
unfortunate if you try calling it "R^2".
 
-pd

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: [email protected]  Priv: [email protected]

______________________________________________
[email protected] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to