Var.parameter

Contents

Var.parameter#

property Var.parameter: bool#

Whether the variable is a parameter.

If the variable is a parameter and has an associated probability distribution, its log-probability is added to the model’s log_prior.

See also

new_param

Helper function to declare a variable as a parameter.

log_prior

The log-prior of a Liesel model.

observed

Whether the variable is observed. A parameter is not observed.

Notes

We recommend to use the new_param() helper function to declare a variable as a parameter.