tjur | R Documentation |
Calculate Tjur's Statistic
tjur(data, variable = "RESPONSE_CD", pred.prob = "PRED")
data |
is a data frame |
variable |
is the name of the binary response variable |
pred.prob |
is the predicted probability |
Calculates Tjur's statistic for predictions from a binary model
tjur(data = model.data, variable = "RESPONSE_CD", pred.prob = "PRED")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.