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

param

Helper function to declare a variable as a parameter.

Model.log_prior

The log-prior of a Liesel model.

Var.observed

Whether the variable is observed. If a variable is a parameter, it is not observed.

Notes

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