Calibration weights require specification of tuning parameter RAWgrid
function.
cvWtTuning(p,y,r,rl,ru,kFold=5,cvParm,tuneSeq,cv.seed=1111)
Vector of binary outcomes, with 1 indicating event (cases) and 0 indicating no event (controls)
Vector of risk score values
Clinically relevant risk threshold
Lower bound of clinically relevant region
Upper bound of clinically relevant region
Number of folds for cross-validation
Parameter to be selected via cross-validation. Can be either
Sequence of values of tuning parameters to perform cross-validation over
Intial seed set for random splitting of data into K folds
Matrix containing sequence of tuning parameters and corresponding cross-validation sNB
Value of tuning parameter selected via cross validation
Matrix of cross-validation results for all folds
Mishra, A. (2019). Methods for Risk Markers that Incorporate Clinical Utility (Doctoral dissertation). (Available Upon Request)