`canonicallink(NegativeBinomial())` doesn't give `LogLink`?
Indigo2233 opened this issue · comments
Su Yao commented
Line 285 in 504e518
defines
NegativeBinomialLink(d.r)
. However, in the documentation,https://juliastats.org/GLM.jl/dev/manual/#Fitting-GLM-models-1, it mentioned that
Typical distributions for use with glm and their canonical link functions are
Bernoulli (LogitLink) Binomial (LogitLink) Gamma (InverseLink) InverseGaussian (InverseSquareLink) NegativeBinomial (LogLink) Normal (IdentityLink) Poisson (LogLink)
, which is quite confusing.