Threshold for destinction of probability with respect to TRUE or FALSE
Author
Thomas Wieland
Details
The function computes model performance metrices for binary outcomes. A binary logit model (glm) must be stated by the user. The function returns sensitivity, specificity, accurracy, and no-information rate.
References
Altman DG, Bland JM (1994) Diagnostic tests. 1: Sensitivity and specificity. British Medical Journal 308, 1552. tools:::Rd_expr_doi("https://doi.org/10.1136/bmj.308.6943.1552").
Boehmke B, Greenwell B (2020) Hands-On Machine Learning with R (1 ed.). Taylor & Francis, New York, NY.