Likelihood
Likelihood(name, params=None, parent=None, dist=None)Representation of a Likelihood function for a Bambi model
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| name | str | Name of the likelihood function. Must be a valid PyMC distribution name. | required |
| params | sequence of str or None | The name of the parameters the likelihood function accepts. | None |
| parent | str or None | Optional specification of the name of the mean parameter in the likelihood. This is the parameter whose transformation is modeled by the linear predictor. | None |
| dist | pymc.Distribution or callable or None | Optional custom PyMC distribution that will be used to compute the likelihood. | None |
Notes
parentmust be inparamsparentis inferred from thenameif it is a known name