Routines for performing empirical calibration of observational study estimates