Learn R Programming

cenROC (version 1.2.0)

wbw: Function to select the bandwidth parameter needed for smoothing the time-dependent ROC curve.

Description

This function computes the data-driven bandwidth value for smoothing the ROC curve. It contains three methods: the normal refrence, the plug-in and the cross-validation methods.

Usage

wbw(X, wt, bw = "NR", ktype = "normal")

Arguments

X

The numeric data vector.

wt

The non-negative weight vector.

bw

A character string specifying the bandwidth selection method. The possible options are "NR" for the normal reference, the plug-in "PI" and cross-validation "CV".

ktype

A character string indicating the type of kernel function: "normal", "epanechnikov", "biweight", or "triweight". Default is "normal" kernel.

Value

Returns the estimated value for the bandwith parameter.

References

Beyene, K. M. and El Ghouch A. (2020). Smoothed time-dependent ROC curves for right-censored survival data. submitted.