An often used prior for the variance, also denoted
is inverse gamma, that is to say;
Now the posterior for may be calculated as follows, where the data,
consists of n observations;
and noting that
The posterior will also be inverse gamma, as follows;
where