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.