bde {bde}R Documentation

Generic bounded density constructor

Description

Function to access all the methods

Usage

bde(dataPoints,dataPointsCache=NULL,estimator,b=length(sample)^{-2/5}, 
    lower.limit=0, upper.limit=1,options=NULL)

Arguments

dataPoints

Vector containing the points to be used to estimate the density.

dataPointsCache

Points where the density has to be estimated. If omitted, 101 points equally distributed in the [lower.limit,upper.limit] interval are used

estimator

Density estimator to be used. This has to be one of the following:

  • "betakernel": Chen's beta kernel density estimator

  • "vitale": Vitale's Bernstein polynomial based estimator

  • "boundarykernel": Boundary kernel based density estimators, as proposed by Muller et al.

  • "kakizawa": Kakizawa's density estimators

b

Bandwidth to be used. Note that in the case of Vitale's estimator the m parameter is set at 1/b

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

options

A list containing the different options available for the estimators:


[Package bde version 1.0.1.1 Index]