With, for example, a pm.Normal distribution, we can run the following and produce a vector with shape 4:
pm.Normal("a", mu=np.array([4,6,2,7]),sd=np.array([1,1,2,3]),shape=4)
I don’t understand why the same functionality does not apply to a bounded variable, e.g.:
pm.Bound(pm.Normal,lower=np.array([0,1,0,2]),upper=np.array([8,9,7,9]))("a", mu=np.array([4,6,2,7]),sd=np.array([1,1,2,3]),shape=4)
Or a uniform one:
pm.Uniform("a",lower=np.array([0,1,0,2]),upper=np.array([8,9,7,9]),shape=4)
The alternative is that I loop over 50 values and create 50 individual parameters which seems to clog up the model at a later point - so encapsulating them all in a single variable would obviously be preferable Can anyone help me here?