Var.observed#
- property Var.observed: bool#
Whether the variable is observed.
If a variable is observed and has an associated probability distribution, its log-probability is automatically added to the model log-likelihood (see
Model.log_lik).See also
obsHelper function to declare a variable as a parameter.
Model.log_priorThe log-prior of a Liesel model.
Var.parameterWhether the variable is a parameter. If a variable is a parameter, it is not observed.
Notes
We recommend to use the
obs()helper function to declare an observed variable.