Skip to content

Avoid using NegativeBinomialLink by default with NegativeBinomial? #626

Description

@nalimilan

negbin and glm with NegativeBinomial distribution use NegativeBinomialLink by default as it's the canonical link for that distribution. Yet as the GLM.jl docs state in two occasions, the negative binomial distribution is generally (always?) used with a log link, and no other software default to the negative binomial link. The risk is therefore high that users use it by mistake.

For 2.0, it would make sense to change this behavior, either by using LogLink by default or by throwing an error so that users make an explicit choice. This is technically breaking, but in practice most users probably specify LogLink and won't be affected.

Activity

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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions