Displaying 2 results from an estimated 2 matches for "aeorsaeinfecbac".
2004 Feb 28
2
logististic regression (GLM). How to get 95 pct. confidence limits?
Dear R-list.
I'm doing af logistic analyses using gml.
The model explaines variations in Adverse events infections (0 og 1) using
age as explanatory variable.
model2d<-glm(formula=AEorSAEInfecBac~Age,family=binomial("logit"),data=emrisk)
I want to get predictions with 95% confidence limits for age 30 and age 60.
I've been reading the "google" and "search r-project" for suggestions but
could only find solutions for lm: predict(model,data.frame(Age=30),leve...
2004 Mar 01
1
glm logistic model, prediction intervals on impact af age 60 compared to age 30
Dear R-list.
I have done a logistic glm using Age as explanatory variable for some
allergic event.
#the model
model2d<-glm(formula=AEorSAEInfecBac~Age,family=binomial("logit"),data=emrisk)
#predictions for age 30 and 60
preds<-predict(model2d,data.frame(Age=c(30,60)),se.fit=TRUE)
# prediction interval
predsxx<-cbind(fit=preds$fit,lower=preds$fit-1.96*preds$se,upper=preds$fit+1.96*preds$se)
#transformation
model2dres<-family...