RocTest: Create the ROC for Vertical Distributed Logistic Regression

View source: R/vertical_utilities.R

RocTestR Documentation

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

  RocTest(vdra_fit_logistic_A)

  RocTest(vdra_fit_logistic_A, 40)

kentedegrees/vdra documentation built on June 12, 2025, 12:56 p.m.