Displaying 3 results from an estimated 3 matches for "11yrs".
Did you mean:
10yrs
2009 Jan 29
1
Question On CrossTable function in gmodels package
...ed within another object.
For example:
>library(gmodels)
>data(infert, package = "datasets")
> CrossTable(infert$education, infert$induced)->aa # the function prints everything ok on the screen
> aa # works just fine
$t
y
x 0 1 2
0-5yrs 4 2 6
6-11yrs 78 27 15
12+ yrs 61 39 16
?????.
But when I call
>CrossTable(infert$education, infert$induced, asresid=TRUE, format="SPSS")->aaa # the function prints everything ok on the screen
> aaa # now I have a problem
NULL
Why is aaa object NULL? Should it be NULL? I suspect it has s...
2011 Dec 13
8
How to compute 95%CI for OR from logistic regression?
Hi all:
My data has 3 variables:
age(3levels : <30y=1 30-50y=2, >50y=3)
gender(Male=0, Female=1)
CD4 cell count(raw lab measurement)
y(1:death 0:alive)
I perform logistic regression to find out the factors that influence y.
result<-glm(y ~ factor(age) + factor(gender) + CD4,family = binomial)
>From the result,I can get OR(Odds Ratio) of gender via exp(Estimate of Female,
2005 Jun 23
1
the dimname of a table
i have a data frame(dat) which has many variables.and i use the following script to get the crosstable.
>danx2<-c("x1.1","x1.2","x1.3","x1.4","x1.5","x2","x4","x5","x6","x7","x8.1","x8.2","x8.3","x8.4","x11",