marginal_tau_umv_uninf_prior#
- agabpylib.posteriors.meanvarnormal.marginal_tau_umv_uninf_prior(n, V, tau)#
Calculate the marginal posterior distribution of \(\tau\) for the case of unknown mean and unknown variance and with an uninformative prior on \(\tau\).
- Parameters:
n (int) – The number of data points \(x_i\)
V (float) – The data variance \(\sum(x_i-\bar{x})^2/n\)
tau (float array) – 1D-array of \(\tau\) values
- Returns:
lnP – The value of ln(posterior) at each grid point.
- Return type:
float array