Skip to content

ENH: GLM MLE with scale #1788

Open
Open

Description

@josef-pkt

I'm reading through the SPSS algorithm manual for GLZM (generalized linear model)

They also have ordered multinomial and Tweedie distribution.

The have the full formulas for derivatives and second derivatives, including the score and hessian for the scale estimate.

Should be relatively straightforward:
Create a GLMMLE class that includes the scale estimate in the params and only implements the families with a scale estimate in the loglikelihood function. (not over/under dispersed)
There is no advantage to replicating the scale=1 models, Logit, Probit, Poisson,
also we have already NegativeBinomial in discrete as full MLE but without link functions.

It's essentially similar to the miscmodels that are just MLE models with extra parameters, but taking advantage of the family and link structure of GLM.
The main difference would be that the extra parameters are included in params, loglike, score, hessian, and so on.
It would also be possible to parameterize the extra scale parameter as a function of the data (e.g modeled heteroscedasticity).


Related issue:
We want to use the nonlinear LikelihoodModel fit also for distributions that don't have extra parameters to make it easier to extend to nonlinear predictor (non just single index link function)

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions