user4575913
user4575913

Reputation: 567

Confint() with glm {stats} very, very slow

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?

Upvotes: 9

Views: 9825

Answers (1)

user4575913
user4575913

Reputation: 567

Well, for some unknown reason, specifying exp(confint.default(model)) leads to instant resolution of this problem.

Upvotes: 11

Related Questions