adapted estimate.risk.core to deal with missing YX values