plot.Beta {DELTD}R Documentation

Density Plot by Beta kernel

Description

Plot density by using Beta Kernel.

Usage

## S3 method for class 'Beta'
plot(x, ...)

Arguments

x

an object of class "Beta"

...

Not presently used in this implementation

Value

nothing

Author(s)

Javaria Ahmad Khan, Atif Akbar.

References

Chen, S. X. 2000. Beta kernel smothers for regression curves. Statistica Sinica 10, 73-91.

See Also

For further kernels see plot.Gamma, plot.Erlang, plot.BS and plot.LogN. To calculate its estimated values see Beta and for MSE see mse.

Examples

y <- runif(100)
h <- 0.5
xx <- sample(0.00001:900, 50, replace = FALSE)/1000
den <- Beta(x = xx, y = y, k = 50, h = h)
plot(den, type = "p")
##other details can also be added
y <- runif(100)
h <- 0.7
xx <- sample(0.00001:900, 50, replace = FALSE)/1000
den <- Beta(x = xx, y = y, k = 50, h = h)
plot(den, type = "l", ylab = "Density Function", lty = 1, xlab = "Time")


[Package DELTD version 2.6.8 Index]