At 10:23 PM +0200 7/23/08, Tobias Verbeke wrote:
Angelo Scozzarella wrote:
what the command for the point-biserial correlation?
Have a look at the polycor package by John Fox.
http://cran.r-project.org/web/packages/polycor/index.html
HTH,
Tobias
A point-biserial correlation is just a Pearson correlation where one
of the variables is dichotomous. Thus, the command is just the
normal cor function.
The polycor package will give (among other things) the biserial
correlation (a correlation between a dichotomous variable and a
continuous variable with the assumption that the dichotomous reflects
a normal that was artificially dichotomized).
Bill
______________________________________________
R-help@r-project.org 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.
--
William Revelle http://personality-project.org/revelle.html
Professor http://personality-project.org/personality.html
Department of Psychology http://www.wcas.northwestern.edu/psych/
Northwestern University http://www.northwestern.edu/
Attend ISSID/ARP:2009 http://issid.org/issid.2009/
______________________________________________
R-help@r-project.org 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.