Create a TGST object, usually used as an input for optimal rule search and ROC analysis.
Usage
TGST(Z, S, phi, method = "nonpar")
Arguments
Z
A vector of true disease status (No disease / treatment success coded as Z=0, diseased / treatment failure coded as Z=1).
S
A vector of risk Score.
phi
Percentage of patients taking gold standard test.
method
Method for searching for the optimal tripartite rule, options are "nonpar" (default) and "semipar".
Value
An object of class TGST.The class contains 6 slots: phi (percentage of gold standard tests), Z (true failure status), S (risk score), Rules (all possible tripartite rules), Nonparametric (logical indicator of the approach), and FNR.FPR (misclassification rates).