Learn R Programming

vdra (version 1.0.0)

RocTest: Create the ROC for Vertical Distributed Logistic Regression

Description

Generate the receiver operator curve on an object created by 2-party, 3-party, or K-party vdra logistic regression. Only the party that holds the response may invoke this function.

Usage

RocTest(x, bins = 10)

Arguments

x

an object of type vdralogistic.

bins

the number of bins the data will be separated into.

Value

Returns an object of class rocdistributed. Objects of this class have a method for the function print. The following components must be included in a rocdistributed object.

roc

a two column matrix containing the cordinates of 1 - specifity and sensitivity.

auc

numeric value which is area under the curve.

Examples

Run this code
# NOT RUN {
  RocTest(vdra_fit_logistic_A)

  RocTest(vdra_fit_logistic_A, 40)
# }

Run the code above in your browser using DataLab