KakizawaB1 generator method

Description

User friendly constructor method for KakizawaB1 objects.

Usage

1
2
kakizawaB1(dataPoints,estimator=NULL,m=round(length(dataPoints)^(2/5)),gamma=0.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

gamma

a numeric value between 0 and 1. This parameter is used in the B1 approximation using Bernstein polynomials

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.