Incorporate posterior probablity to select ERs.