perf_mod function

Bayesian Analysis of Resampling Statistics