plot.Beta | R Documentation |
Plot density by using Beta Kernel.
## S3 method for class 'Beta' plot(x, ...)
x |
an object of class "Beta" |
... |
Not presently used in this implementation |
nothing
Javaria Ahmad Khan, Atif Akbar.
Chen, S. X. 2000. Beta kernel smothers for regression curves. Statistica Sinica 10, 73-91.
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
.
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.