Rates {fake}R Documentation

True and False Positive Rates

Description

Computes the True and False Positive Rates by comparing the true (observed) and predicted status. The predicted status is obtained by applying a threshold on the predicted scores.

Usage

Rates(observed, predicted, thr)

Arguments

observed

vector of binary outcomes.

predicted

vector of predicted scores.

thr

threshold for predicted scores.

Value

True and False Positive Rates (TPR and FPR, respectively).


[Package fake version 1.4.0 Index]