Hello!
I would like to make a model like that:
with pm.Model() as linear_model:
tx = pm.Uniform('tx', upper=70, lower=0)
ty = pm.Uniform('ty', upper=70, lower=0)
mu_sim = pm.MvNormal('mu_sim',
mu=func0(tx,ty),
conv=R,
observed=mu)
p = pm.sample()
It is simple but the problem that function func0 is calling some external program. (R and mu are numpy arrays) I have to transform variables tx and ty from stochastic to deterlministic to make it work, right? But I do not completelly understand how exactly it should work.
Thanks