Hi sir:
I follow your suggestion:

result<-glm(y ~ factor(age) + factor(gender) + CD4,family = binomial)
logistic.display(result)


Error in coeff[, 1] : incorrect number of dimensions











At 2011-12-14 01:59:36,"Jorge I Velez" <jorgeivanve...@gmail.com> wrote:
Hi there,


Try


require(epicalc)
logistic.display(result)


HTH,
Jorge


On Tue, Dec 13, 2011 at 7:16 AM, ÃÏÐÀ <> wrote:
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, since Male is regarded as reference group and has no result).But how 
>can I compute the 95%CI of OR of gender?


Thanks a lot for your help.

My best!




       [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.



        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to