getPosteriorTerm function

Get the posterior distribution of the linear predictor of a model term