bw_sampleSmoothing: Loftsgaarden-Quesenberry kth nearest neighbor bandwidths

Description Usage Arguments Details Value Examples

Description

bw_balloon_LQ looks for the bandwidth following the Loftsgaarden-Quesenberry algorithm. The bandwidth depends on the point of estimation.

Usage

1

Arguments

tdat

a vector containing the training dataset.

k

specifying the order of the neighbor.

Details

These are the details of the function.

Value

a vector of bandwidths (one bandwidth per evaluation data point)

Examples

1
2
bw_sampleSmoothing(tdat = 1:10,k = 3)
bw_sampleSmoothing(tdat = (1:10)^2,k = 3)

kcucchi/vdke documentation built on May 20, 2019, 8:28 a.m.