Learn R Programming

DEEVD (version 1.2.1)

plot.Gumbel: Density Plot by Gumbel kernel

Description

Plot density by using Gumbel Kernel.

Usage

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

Arguments

x

an object of class "Gumbel"

Not presently used in this implementation

Value

nothing

References

Khan, J. A.; Akbar, A. Density Estimation by Gumbel Kernel. 2020. Working paper, Department of Statistics, Bahauddin Zakariya University, Multan, Pakistan.

See Also

For Weibull kernel see plot.Weibull. To calculate Gumbel estimated values see Gumbel and for MSE by using Gumbel Kernel msegumbel.

Examples

Run this code
# NOT RUN {
y <- rexp(100,1)
h <- 0.79 * IQR(y) * length(y) ^ (-1/5)
den <- Gumbel(y,200,h)
plot(den, type = "s", ylab = "Density Function", lty = 1, xlab = "Time")
# }

Run the code above in your browser using DataLab