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_var

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

data

The observed data.

dims: tuple

Dimension names for the variable.

transform

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