Discrete Effectiveness as Discrete Kernel-smoothed Distribution.
Fits a Beta-Binomial distribution, to the given sample of scores and support points.
effDisc_dks(x, support, mult = 1)
x
: a sample of effectiveness scores between 0 and 1.support
: the support of the distribution.mult
: a constant to multiply the initially selected bandwidth.an object of class eff.disc.dks
, which inherits from eff.disc
.
e <- effDisc_dks(web2010p20[,1], seq(0,1,.05)) c(e$mean, e$var) plot(e, plot.data = TRUE) e2 <- effDisc_dks(web2010p20[,1], seq(0,1,.05), mult = 2) c(e2$mean, e2$var) plot(e2, plot.data = TRUE)
M.C. Wang and J.V. Ryzing (1981). A Class of Smooth Estimators for Discrete Distributions. Biometrika, 68, 301-309.
deff
, peff
, qeff
and reff
.
Useful links