Skip to content

Implement bijector for gamma and exponential distributions #35

@bayesianbrad

Description

@bayesianbrad

Due to the support of these two distributions being defined only on the positive reals, we must ensure that we can transform the parameter space to the whole of $$ \mathbb{R}$$.

To do this we can use the $$\exp(Y) = X$$ transform and so the transforming to the unconstrained space $$Y$$ we have $$f_{y}(Y) = |\partial h(y) \ \partial y | f_{X}(h(y)) $$
which means that the transformed distribution is given as:
$$log_gamma(\alpha,\beta) = \frac{exp(y\beta - \exp(x)//\alpha}{\alpha^{\beta} \Gamma{\beta}}$$

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions