Functions to facilitate power and sensitivity analyses for