Skip to content

Feature request: Add offset parameter to Exponential class (akin to mu in Laplace class) #4507

Closed
@jtstanley

Description

@jtstanley

Could we include an additional parameter to the Exponential class that allows for the whole distribution to be shifted? This would be equivalent to the mu parameter in the Laplace class. Given the similarity of the two distributions (meaningfully differing only by their support), most of the changes could simply be copied from the relevant lines in Laplace.

A usecase was provided by @harcel on the discourse.
See: https://discourse.pymc.io/t/exponential-likelihood-at-different-location/6919

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