Function to extract probabilistic event status predictions from various diagnostic and prognostic models with binary status response. The function has a speficic method depending on the 'class' of the object.
A model from which predicted probabilities can be extracted for the indiviuals in newdata.
A data frame containing data for which the
Additional arguments that are passed on to the current method.
The function delivers predicted probabilities tailored for
the model performance measures of the package. These
probabilities are extracted from a fitted model of class
CLASS with the function
A vector with the predicted status probability for each row
It is rather easy to write a new predictStatusProb method,
help(Roc). However, if you do not succeed,
please send me an email.
The performance, in particular when doing cross-validation where the model is evaluated many times, can be improved by supressing in the call to the model all the computations that are not needed for probability prediction, for example standard error calculations.
Thomas A. Gerds firstname.lastname@example.org
1 2 3 4 5 6 7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.