nonpar.rules {TGST} | R Documentation |
Nonparametric Rules Set
Description
This function gives you all possible cutoffs [l,u]
for tripartite rules, by applying nonparametric search to the given data.
P(S in [l,u]) \le \phi
Usage
nonpar.rules(Z, S, phi)
Arguments
Z |
True disease status (No disease / treatment success coded as Z=0, diseased / treatment failure coded as Z=1). |
S |
Risk score. |
phi |
Percentage of patients taking viral load test. |
Value
Matrix with 2 columns. Each row is a possible tripartite rule, with output on lower and upper cutoff.
Examples
d = Simdata
Z = d$Z # True Disease Status
S = d$S # Risk Score
phi = 0.1 #10% of patients taking viral load test
nonpar.rules( Z, S, phi)
[Package TGST version 1.0 Index]