normalizedBoundaryKernel {bde}R Documentation

NormalizedBoundaryKernel generator method

Description

User friendly constructor method for NormalizedBoundaryKernel objects.

Usage

normalizedBoundaryKernel(dataPoints, mu=1, b=length(dataPoints)^(-2/5), 
                          dataPointsCache=NULL, lower.limit = 0, 
                          upper.limit = 1)

Arguments

dataPoints

a numeric vector containing data samples within the [lower.limit,upper.limit] interval. These data samples are used to obtain the kernel estimator

mu

a integer value indicating the degree of smoothness for the boundary kernel. mu can take the following values: 0 (uniform kernel), 1 (Epanechnikov kernel), 2 (biweight kernel) or 3 (triweight kernel)

b

the bandwidth of the kernel estimator

dataPointsCache

a numeric vector containing points within the [lower.limit,upper.limit] interval. These points are used for convenience to cache density and distribution values. If dataPointsCache=NULL the values are initialized to a sequence of 101 equally spaced values from lower.limit to upper.limit

lower.limit

a numeric value for the lower limit of the bounded interval for the data

upper.limit

a numeric value for the upper limit of the bounded interval for the data. That is, the data is with the [lower.limit,upper.limit] interval

Details

See NormalizedBoundaryKernel class for more details.


[Package bde version 1.0.1.1 Index]