Using simulation to understand frequentist confidence intervals and Bayesian credible intervals as tools for inference

In this example, we’re going to go back to basics, and use both a formula and simulation to calculate confidence intervals for a sample mean. So, first, pick a mean and standard deviation and number of samples to draw from a Normal distribution.

Check out the full tutorial here.

Previous