Check the code examples here: pymc.CustomDist — PyMC dev documentation
You have to pass the parameters function and the logp function as a kwarg (not yet evaluated)
Check the code examples here: pymc.CustomDist — PyMC dev documentation
You have to pass the parameters function and the logp function as a kwarg (not yet evaluated)