Given a univariate sample drawn from the posterior distribution, this function computes the posterior mean, the posterior median, the posterior standard deviation, and the limits of the \((1-\alpha)\) probability-symmetric credible interval.
bayes_inference(x, alp)Univariate sample from the posterior distribution of a parameter.
Significance level used in the computation of the credible interval
a matrix with summary statistics