Re: [R] Point-biserial correlation

From: William Revelle <lists_at_revelle.net>
Date: Wed, 23 Jul 2008 23:05:15 -0500

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_at_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_at_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.
Received on Thu 24 Jul 2008 - 04:08:40 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 24 Jul 2008 - 04:32:23 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive