Plot density by using Gamma Kernel.
# S3 method for Gamma plot(x, ...)
an object of class "BS"
Not presently used in this implementation
nothing
Chen, S. X. 2000. Probability density function estimation using Gamma kernels. Annals of the Institute of Statistical Mathematics 52 (3), 471-480.
For further kernels see plot.Erlang, plot.BS and plot.LN. To calculate its estimated values see Gamma and for MSE by using Gamma Kernel mseGamma.
plot.Erlang
plot.BS
plot.LN
Gamma
mseGamma
# NOT RUN { y <- rexp(100,1) h <- 0.79 * IQR(y) * length(y) ^ (-1/5) den <- Gamma(y,200,h) plot(den, type = "s", ylab = "Density Function", lty = 1, xlab = "Time") # }
Run the code above in your browser using DataLab