Learn R Programming

BCA (version 0.9-2)

score: Score a Database based on a Predictive Model

Description

Provides either an integer vector that contains the "desirability" rank of a case in a data set, the fitted probability of a desired response, or the fitted probability adjusted for the true response rate based on the fitted values of a predictive model.

Usage

rankScore(model, data, targLevel)
rawProbScore(model, data, targLevel)
adjProbScore(model, data, targLevel, trueResp)

Arguments

Value

An integer vector that indicates the rank order desirability (a value of 1 means most desirable) of the correponding case of the database being scored or a probability measure bounded between zero and one.

Details

Only binomial glm, binary rpart, and binary nnet models can be used as the basis of scoring a database.