You can see how to add custom statistics to the summary here. For a quick solution, you can just do this:
idata = pm.sample(return_inferencedata = True)
print(idata.posterior.median())
You can see how to add custom statistics to the summary here. For a quick solution, you can just do this:
idata = pm.sample(return_inferencedata = True)
print(idata.posterior.median())