MaskedPrior.create_likelihood_variable#
- MaskedPrior.create_likelihood_variable(name, *, mu, observed, xdist=False)[source]#
Create an observed variable over the active subset and expand to full dims.
- Parameters:
- name
str Base name for the created variables.
- mu
XTensorLike Mean/location parameter broadcastable to the masked shape.
- observed
XTensorLike Observations broadcastable to the masked shape.
- name
- Returns:
XTensorVariableDeterministic variable over the full dims with observed RV on active entries.