kakizawaB2 {bde}R Documentation

KakizawaB2 generator method

Description

User friendly constructor method for KakizawaB2 objects.

Usage

kakizawaB2(dataPoints, estimator=NULL,m=round(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

estimator

A bounded density estimator. See all the accepted classes here with getSubclasses("BoundedDensity"). If no estimator is provided here (default value = NULL), a Muller94BoundaryKernel estimator with default parameters and the same dataPoints as those give for the Kakizawa estimator is used.

m

a integer value indicating the order of the polynomial approximation. m must take values greater than 0

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 KakizawaB2 class for more details.


[Package bde version 1.0.1.1 Index]