Changed output name to kappa_hat in function HPS_effect_size