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
paramHelper function to declare a variable as a parameter.
Model.log_priorThe log-prior of a Liesel model.
Var.observedWhether 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.