pymc.model.core.Model.make_obs_var#

Model.make_obs_var(rv_var, data, dims, transform, total_size)[source]#

Create a TensorVariable for an observed random variable.

Parameters:
rv_varTensorVariable

The random variable that is observed. Its dimensionality must be compatible with the data already.

dataarray_like

The observed data.

dimstuple

Dimension names for the variable.

transformint, optional

A transform for the random variable in log-likelihood space.

Returns:
TensorVariable