[R] correlation b/w a continuous variable and a categorical variable

2006-10-13 Thread Weiwei Shi
Dear Listers: I happen to have this question in mind, is there a way to evaluate the correlation between a continuous variable and a categorical variable (without discretizing the former)? My intuitive is using lda by considering the latter as response variable but not sure. thanks, weiwei --

Re: [R] correlation b/w a continuous variable and a categorical variable

2006-10-13 Thread Achim Zeileis
On Fri, 13 Oct 2006 17:15:45 -0400 Weiwei Shi wrote: Dear Listers: I happen to have this question in mind, is there a way to evaluate the correlation between a continuous variable and a categorical variable (without discretizing the former)? My intuitive is using lda by considering the

Re: [R] correlation b/w a continuous variable and a categorical variable

2006-10-13 Thread Weiwei Shi
I see. i think the question is, I did not have a clear idea of the correlation between them (if I insist no transformation). Otherwise, for a binary variable case, maybe a simple one-way t-test serves the purpose if I defined such correlation or dependency as the group mean difference. thanks.

Re: [R] correlation b/w a continuous variable and a categorical variable

2006-10-13 Thread Achim Zeileis
On Fri, 13 Oct 2006 18:17:10 -0400 Weiwei Shi wrote: I see. i think the question is, I did not have a clear idea of the correlation between them (if I insist no transformation). Otherwise, for a binary variable case, maybe a simple one-way t-test serves the purpose if I defined such