wbw: Function to select the bandwidth parameter needed for...

View source: R/bw.R

wbwR Documentation

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.

Author(s)

Kassu Mehari Beyene and Anouar El Ghouch

References

Beyene, K. M. and El Ghouch A. (2020). Smoothed time-dependent receiver operating characteristic curve for right censored survival data. Statistics in Medicine. 39: 3373– 3396.


cenROC documentation built on March 31, 2023, 5:19 p.m.

Related to wbw in cenROC...