ztable produces nice zebra (alternating striped) tables, useful for presenting dataframes and model objects (lm, glm, etc). However it's not clear to me what lcl and ucl are. The documentation says
‘ztable()’ shows the odds ratio(OR) and 95% confidence interval
But Googling indicates lcl/ucl to be lower/upper control limits, which seem to be like confidence intervals constructed with +/- 3 standard deviations from the mean.
Most confusingly, the lcl/ucl constructed by ztable don't always contain the coefficient estimate:
ztable(glm(factor(am) ~ disp, family = binomial(link = "logit"), data = mtcars))
So what do the lcl/ucl mean?
lcl/ucl
are the abbreviation the author uses for upper/lower confidence limit. So they are confidence intervals, so you would expect the coefficient to fall between the limits here is the funcrion – user2957945confint()
andconfint.default()
applied on the model give intervals that contain the coefficient estimate, as I would expect. – adatumconfint
apply to the estimate of the difference on the log-odds scale, not on any probability or even to an odds estimate. – IRTFM