add frequentist/Bayes exmaple