gsCP function

Conditional and Predictive Power, Overall and Conditional Probability of Success