effDisc_bbinom {simIReff}R Documentation

Discrete Effectiveness as Beta-Binomial Distribution.

Description

Fits a discrete kernel-smoothed distribution, to the given sample of scores and support points.

Usage

effDisc_bbinom(x, support)

Arguments

x

a sample of effectiveness scores between 0 and 1.

support

the support of the distribution.

Value

an object of class eff.disc.bbinom, which inherits from eff.disc.

See Also

deff, peff, qeff and reff.

Examples

e <- effDisc_bbinom(web2010p20[,1], seq(0,1,.05))
c(e$mean, e$var)
plot(e, plot.data = TRUE)

[Package simIReff version 1.0 Index]