DELTD (version 2.6.5)

plot.Gamma: Density Plot by Gamma kernel

Description

Plot density by using Gamma Kernel.

Usage

# S3 method for Gamma
plot(x, ...)

Arguments

x

an object of class "BS"

Not presently used in this implementation

Value

nothing

References

Chen, S. X. 2000. Probability density function estimation using Gamma kernels. Annals of the Institute of Statistical Mathematics 52 (3), 471-480.

See Also

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.

Examples

Run this code
# 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