Compute score of cutoff for predictive case
seqlr.score.pred(
data,
yvar,
censorvar,
xvar,
trtvar,
cutoff,
type,
class.wt,
dir,
nsubj,
min.sigp.prcnt
)score (p-value of treatment*subgroup interaction) for the given cutoff.
input data frame.
response variable name.
censoring variable name.
name of predictor for which cutpoint needs to be obtained.
treatment variable name.
a specific cutpoint for which the score needs to be computed.
"c" continuous; "s" survival; "b" binary.
vector of length 2 used to weight the accuracy score , useful when there is class imbalance in binary data defaults to c(1,1).
direction of cut.
number of subjects.
desired proportion of signature positive group size for a given cutoff.
Compute score of cutoff for predictive case