Skip to content
Back to formatted view

Raw Message

Message-ID: <1317804933476-3873856.post@n4.nabble.com>
Date: 2011-10-05T08:55:33Z
From: lunarossa
Subject: Which function for this?

I have a matrix like this

0.05 0.13 1.2 0 0 0 0 0 red
0       0     0  0 0 0 0 0 white
0     0.06   0  0 0 0 0 0 blue

If only 1 number in the first 8 columns is more than 0, in a new variable I
write 1, if they're all 0 or less, I write 0, so

0.05 0.13 1.2 0 0 0 0 0 red      1
0       0     0  0 0 0 0 0 white   0
0     0.06   0  0 0 0 0 0 blue     1

I want to understand if the value of the new variable (1 or 0) is correlated
to the colour.. I can use chi-square and what else? Anova and qhat else?

And to correlated the first 8 columns to the colour, can I use logit?

--
View this message in context: http://r.789695.n4.nabble.com/Which-function-for-this-tp3873856p3873856.html
Sent from the R help mailing list archive at Nabble.com.