Learn R Programming

DEEVD (version 1.2.1)

plot.Weibull: Density Plot by Weibull kernel

Description

Plot density by using Weibull Kernel.

Usage

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

Arguments

x

an object of class "Weibull"

Not presently used in this implementation

Value

nothing

References

Salha, R. B., El Shekh Ahmed, H. I., & Alhoubi, I. M. 2014. Hazard Rate Function Estimation Using Weibull Kernel. Open Journal of Statistics 4 (08), 650-661.

See Also

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

Examples

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

Run the code above in your browser using DataLab