ciTools icon indicating copy to clipboard operation
ciTools copied to clipboard

Is it possible to apply to the quasibinomial() glm family?

Open marcoaurelioguerrap opened this issue 2 years ago • 1 comments

I saw the add_quatile() function briefly. Maybe I'm wrong but the quantiles are done by simulation. Is it possible to do for the quasibinomial() family? I could make a pull request and someone analyses it.

marcoaurelioguerrap avatar Jun 30 '22 03:06 marcoaurelioguerrap

It is somewhat improper that ciTools even provides PIs and quantiles for QuasiPoisson models. We rely on a coincidence that QP models can be embedded in a likelihood framework to calculate the distributional properties. I forget the source now, but there are some ideas on CV: https://stats.stackexchange.com/a/157651

I'm not sure if the same can be done with QuasiBinomial models.

In retrospect, we probably should return error codes if the user requests anything other than confidence intervals from quasi-likelihood models.

-John

jthaman avatar Jun 30 '22 14:06 jthaman