[R] Association between discrete and continuous variable

Jonathan Baron baron at psych.upenn.edu
Mon Jul 12 09:40:33 CEST 2004


On 07/12/04 18:23, Richard A. O'Keefe wrote:
>What's the reommended way, in R, to determine the strength of
>association between a discrete variable and a continuous variable?

Analysis of variance?  aov()?  R^2?

It seems to me, though, that there are many possible answers, and
this really doesn't have much to do with R because R could
implement them all.  It may matter whether the discrete variable
is ordered or not, whether it is fixed or random, what the error
distributions of the continuous variable look like, what measures
of association are traditional in your field, etc. etc.

Jon
-- 
Jonathan Baron, Professor of Psychology, University of Pennsylvania
Home page:            http://www.sas.upenn.edu/~baron
R search page:        http://finzi.psych.upenn.edu/




More information about the R-help mailing list