Skip to content

ENH: Beta negative binomial distribution #247

@ferrine

Description

@ferrine

Before

There is no such a distribution that represents Beta Negative Binomial distribution.

The beta negative binomial is non-identifiable which can be seen easily by simply swapping $r$ and
$\beta$ in the above density or characteristic function and noting that it is unchanged. Thus estimation demands that a constraint be placed on $r$,
$\beta$ or both.

After

with pm.Model() as model:
    pm.BetaNegativeBinomial("bnb", alpha=alpha, beta=1, r=r)

Context for the issue:

No response

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