I’d like to recode an old pymc partial pooling model in pymc3 :
Here is the model an explanations :
I have a very hard time to understand this old pymc syntax :
@pymc.stochastic(dtype=np.float64) def hyperpriors(value=[1.0, 1.0]): a, b = value, value if a <= 0 or b <= 0: return -np.inf else: return np.log(np.power((a + b), -2.5)) a = hyperpriors b = hyperpriors
I think I understand the function (It’s a logp for a pair of a & b parameters), so I guess that I’ll have to translate that in a ‘Deterministic’…
But I totally don’t understant the last 2 lines : It look like a function call but I where are the function parameters ? And what does means the  and  there?
Any help will be appreciated.