Hello,

I was hoping for some advice in changing 2 defaults in a logistic regression.

1. It looks like the first category is the reference category?  In the 
following syntax 'where' has 4 levels, how can I make the reference 
category the third category?

model<- glm(cbind(sucesses, failures) ~ where + who + firstep + dxnarrow + 
age + sex + medyear, family = binomial, data=life.use)
model

2. Is it possible to round results to 4 decimal points? If so, what syntax 
is required?

Any assistance is appreciated,

Bob Green

______________________________________________
R-help@stat.math.ethz.ch 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