bootkde(x, method='z.score',scale=1, rounding = 'nearest',
from, to, alpha=0.05, gridsize=512L,na.rm=TRUE, iter=100)
## S3 method for class 'bcb':
plot(x, main = NULL, xlab = "x", ylab = "Probability",
lwd=1, col=1, lty=1, zero.line = TRUE,
bgcol='gray',scb=FALSE, ...)
## S3 method for class 'bcb':
lines(x, lwd=1, col=1, lty=1, bgcol='gray', scb=FALSE, ...)
## S3 method for class 'bcb':
print(x, digits = NULL, ...)
x
where the densities are evaluated .If 'method=quantile', the 100*(alpha/2) and 100*(1-alpha/2) quantiles are found at x.
If data are rounded to the nearest integers, 'scale=1'. In some other cases, for example if the birth weights are rounded to the '100g', 'scale=100'.
mu = 34.5; s = 1.5
y = rnorm(100,mu,s) #raw data
x = round(y) #rounded data
bootkde(x)
Run the code above in your browser using DataLab