The interface between Bayesian and frequentist statistics