I'm looking for a function for the 'multiple correlation' but can not figure out what it is called in R by using the html search function. Maybe it is called in another way in english? I only know the german term? Can anyone help me? Thomas Pesl -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
----- Original Message ----- From: "Pesl Thomas" <thomas.pesl at arcs.ac.at> I'm looking for a function for the 'multiple correlation' but can notfigure> out what it is called in R by using the html search function. Maybe it is > called in another way in english? I only know the german term? > Can anyone help me? > > Thomas PeslHere is one way you could do it. data(longley) mod <- lm(GNP.deflator~GNP+Employed,data=longley) sqrt(summary(mod)$r.squared) -Bill -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>From owner-r-help at stat.math.ethz.ch Thu Aug 23 03:32:40 2001 > >I'm looking for a function for the 'multiple correlation' but can not figure >out what it is called in R by using the html search function. Maybe it is >called in another way in english? I only know the german term? >Can anyone help me? > >Thomas PeslThe multiple corrlelation (as I learned it) is the square root of R squared. So, for example, the multiple correlation for predicting y1 from x1, x2, and x3 is sqrt(summary(lm(y1 ~ x1 + x2 + x3))$r.sq) r.sq is an available property of summary(lm()), but not, apparently of lm() itself. Jon Baron -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._