[R] Logistic regression - confidence intervals
stephen.cox at ttu.edu
Wed Feb 8 16:28:27 CET 2006
Please forgive a rather naïve question...
Could someone please give a quick explanation for the differences in conf intervals achieved via confint.glm (based on profile liklihoods) and the intervals achieved using the Design library.
For example, the intervals in the following two outputs are different.
x = rnorm(100)
y = gl(2,50)
d = data.frame(x = x, y = y)
dd = datadist(d); options(datadist = 'dd')
m1 = lrm(y~x, data = d)
m2 = glm(y~x, family = binomial, data = d)
I have spent time trying to figure this out via archives, but have not had much luck.
More information about the R-help