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.
negbinandglmwithNegativeBinomialdistribution useNegativeBinomialLinkby 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
LogLinkby default or by throwing an error so that users make an explicit choice. This is technically breaking, but in practice most users probably specifyLogLinkand won't be affected.