diff --git a/src/likelihoods/negativebinomial.jl b/src/likelihoods/negativebinomial.jl index f663d4c..d8f78a2 100644 --- a/src/likelihoods/negativebinomial.jl +++ b/src/likelihoods/negativebinomial.jl @@ -18,9 +18,9 @@ defines in what parametrization the latent function is used, and contains the ot ## `NBParam` predefined types -### `NBParamProb` types with `p = invlink(f)` the probability of success -- [`NBParamSuccess`](@ref): This is the definition used in [`Distributions.jl`](https://juliastats.org/Distributions.jl/latest/univariate/#Distributions.NegativeBinomial). -- [`NBParamFailure`](@ref): This is the definition used in [Wikipedia](https://en.wikipedia.org/wiki/Negative_binomial_distribution). +### `NBParamProb` types with `p = invlink(f)` the probability of success or failure +- [`NBParamSuccess`](@ref): Here `p = invlink(f)` is the probability of success. This is the definition used in [`Distributions.jl`](https://juliastats.org/Distributions.jl/latest/univariate/#Distributions.NegativeBinomial). +- [`NBParamFailure`](@ref): Here `p = invlink(f)` is the probability of a failure ### `NBParamMean` types with `μ = invlink(f)` the mean/expected number of events