You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think we can reuse large parts of GLM with IRLS with just estimating equations defined by mean/link and variance function.
This is similar to Quasi/Pseudo MLE in R but without defining a quasi-likelihood objective function.
We could set loglike and whatever else is invalid to nan or None. (nan is nicer, None is safer because it raises for sure. We need to check that there is no linear algebra that can break with nans.)
Also, it would only work with irls as optimizer.
Possible usecases would be to see how far we can implement something like tweedie #2858 without specifying loglike.
Another case would be to add arbitrary variance function.
Conceptually this would be similar to the GEE/GMM approach, but for the independent observation case that is handled in GLM.
Compared to GMMGLM we might gain some additional postestimation results that are already available in GLM but where there is nothing specific in GMM.
Activity
josef-pkt commentedon Apr 27, 2016
I think
EEMomentswould be a good name for the family. It combines statistics estimating equationsEEwith GMMMomentconditions.EEMoments(link=..., var_func=...)It will be limited functionality without deviance and llf. just params and cov_params based on irls.
Generic deviance might be possible, I don't know.
I guess a simple example would be generalized negative binomial with log link and
var = mu + theta mu**por something like that.