[R] coefficient of determination on a nls regression

Antonio Olinto aolinto at bignet.com.br
Wed May 1 19:21:52 CEST 2002


Hello R-users,

How can I caculate the coefficient of determination (r-squared, r2) from a
nls regression model?

r2 = regression SS / total SS

The regression SS is given by deviance(model), isn't it? And what about
total SSQ?

Thanks,

Antonio Olinto
São Paulo Fisheries Institute
Brasil
www.institutopesca.sp.gov.br



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list