Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Profiling methods #10

Open
ikosmidis opened this issue Oct 12, 2019 · 2 comments
Open

Profiling methods #10

ikosmidis opened this issue Oct 12, 2019 · 2 comments

Comments

@ikosmidis
Copy link
Owner

No description provided.

@ServehSharifi
Copy link

Hi Ioannis,

I am trying to do profiling for a poisson glm model with method = "brglmFit" which gives an error and "confint" produces the wald CI. The package's R document doesn't mention profiling. Could you advise please? Below is a gamma model producing similar errors and results. (In gaussian and binomial models, this happens only for type = "AS_median").

Thanks,
Serveh

data("coalition", package = "brglm2")
## The maximum likelihood fit with log link
coalitionML <- glm(duration ~ fract + numst2, family = Gamma, data = coalition)
## Bias reduced estimation of the dispersion parameter
coalitionBRi <- glm(duration ~ fract + numst2, family = Gamma, data = coalition, method = "brglmFit")

profile(coalitionML) #no-error
confint(coalitionML) #profile CI
#confint(profile(coalitionML)) #what is this one?
confint.default(coalitionML) #wald CI

profile(coalitionBRi)
## Error in profile.glm(coalitionBRi): profiling has found a better solution, so original fit had not converged
confint(coalitionBRi) #wald CI
confint.default(coalitionBRi) #wald CI

@ikosmidis
Copy link
Owner Author

ikosmidis commented Jun 1, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants