Your variance can also be a function of the predictors such as in y = pm.Normal("y", mu=..., sigma=pm.math.exp(b0 + b1 * x), observed=data), just like the mean is usually.
1 Like
Your variance can also be a function of the predictors such as in y = pm.Normal("y", mu=..., sigma=pm.math.exp(b0 + b1 * x), observed=data), just like the mean is usually.