flag to compute KDE on the positive real
line. Default is FALSE.
fhat
kernel density estimate, object of class kde
Value
For the kernel density estimate fhat,
pkde computes the cumulative probability for the quantile
q, qkde computes the quantile corresponding to the probability
p, dkde computes the density value at
x and rkde computes a random sample of size n.
Details
pkde uses Simpson's rule for the numerical
integration. rkde uses
Silverman (1986)'s method to generate a random sample from a KDE.
References
Silverman, B. (1986) Density Estimation for Statistics and
Data Analysis. Chapman & Hall/CRC. London.