cv.pval {SubgrpID}R Documentation

cv.pval

Description

p-value calculation for each iteration of cross validation.

Usage

cv.pval(yvar, censorvar = NULL, trtvar = NULL, data, type = "s")

Arguments

yvar

response variable name.

censorvar

censor-variable name.

trtvar

treatment variable name. For prognostic case trtvar=NULL.

data

dataset containing response and predicted output.

type

data type - "c" - continuous , "b" - binary, "s" - time to event - default = "c".

Details

p-value calculation for each iteration of cross validation.

Value

p-value based on response and prediction vector for each iteration.


[Package SubgrpID version 0.12 Index]