[R] how to do trend test?
monogift
z_11 at hotmail.com
Tue May 13 05:03:10 CEST 2008
say I have a categorical variable X with 3 levels coded as 1,2,3
and then I have a table of age, sex and etc, by X, which looks like the
following:
x-level1 x-level2 x-level3 p-trend
age 56 54 57 ?
female% 67% 65% 66% ?
my question is how to test if there is a statistically significant trend
across x-levels for age and for sex?
any suggestion will be greatly appreciated!
--
View this message in context: http://www.nabble.com/how-to-do-trend-test--tp17200200p17200200.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list