I have a problem with calculating OR confidence intervals from a glm in the latest version of R, but I have not had this issue before. With any glm where family="binomial"
, no matter how simple the model is, it will easily allow me to extract the summary and exp(coef(model)), however when I try to extract the confint()
or exp(confint(model))
, the "Waiting for profiling to be done..." message is displayed and nothing happens (I've waited up to 10 mins then cancelled the procedure, this usually takes only seconds on my machine). Any ideas what might be tripping this function up? I've tried it on multiple datasets
and variables, with the same result. Any ideas why it is taking so long/failing to finish?
Asked
Active
Viewed 7,884 times
7

Adriaan
- 17,741
- 7
- 42
- 75

user4575913
- 507
- 1
- 7
- 16
1 Answers
9
Well, for some unknown reason, specifying exp(confint.default(model))
leads to instant resolution of this problem.

user4575913
- 507
- 1
- 7
- 16
-
2It should be noted that `confint.default()` and `confint()` do give slightly different results. – Phil Sep 06 '16 at 14:25
-
@Phil. That is true. But I think the interpretations will end in the same conclusion for both methods. – holala Mar 06 '23 at 00:06