Skip to content

Problem with confint function

3 messages · Kino Aguilar, John Fox, Peter Dalgaard

#
Dear Kino,

The confidence intervals that you've computed yourself are based on the Wald
statistic, while confint() computes confidence intervals based on the
likelihood-ratio statistic, by profiling the likelihood (see ?confint and
click on the link for confint.glm). Basing confidence intervals on the
likelihood is more computationally intensive but should be more accurate.

I hope this helps,
 John

--------------------------------
John Fox
Senator William McMaster
  Professor of Social Statistics
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
http://socserv.mcmaster.ca/jfox
#
On Feb 11, 2011, at 19:25 , Kino Aguilar wrote:

            
confint.glm computes using likelihood profiling (i.e., it inverts the likelihood ratio test criterion for a parameter). This is considered somewhat more accurate than the Wald approximation implied by +/- 1.96*SE. If you insist on the latter, try confint.default. (This *is* all on the help page for confint()!).