I’m working through the PyMC linear regression example here which defines normal distributions as priors. I can obtain the point estimates using find_MAP. At this point, I was wondering how to obtain the corresponding estimated standard deviation of the normal distribution. Or are they not varied but given with the prior?
If you sample from the model trace = pm.sample(), you can get the standard deviation of each posterior estimation by doing summary(trace) (see in the same notebook). Notice that this is the standard deviation of your posterior mean, it doesnt means your posterior distribution is Normally distributed.