Hi Bruce,
correlation ratio (eta) is different from correlation coefficient (rho).
While correlation coefficient captures only a linear relationship btw
variables, correlation ratio captures both linear and non-linear
relationships.  It is the defined as the ratio of the variance between
arrays to the total variance.

Thanks,
Suman


On 6/27/07, Bruce Willy <[EMAIL PROTECTED]> wrote:
>
>  hello
>
> try cor(x, y = NULL, use = "all.obs",
>      method = c("pearson", "kendall", "spearman"))
>
> in the R console, you can type "?cor" to get some help on a particular
> function
> and help.search("correlation") if you do know the keyword
>
> > Date: Wed, 27 Jun 2007 18:00:05 -0400
> > From: [EMAIL PROTECTED]
> > To: R-help@stat.math.ethz.ch
> > Subject: [R] Correlation ratio
> >
> > Hi,
> >
> > I wanted to know how to compute the correlation ratio (eta) between two
> > variables using R. Is there any function to compute the correlation
> ratio.
> > Any help will be very much appreciated.
> >
> > Thanks,
> > Suman
> >
> > [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help@stat.math.ethz.ch mailing list
> > 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.
>
>
> ------------------------------
> Besoin d'un e-mail ? Créez gratuitement un compte Windows Live Hotmail et
> bénéficiez de 2 Go de stockage ! Windows Live 
> Hotmail<http://www.windowslive.fr/hotmail/default.asp>
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@stat.math.ethz.ch mailing list
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