Description Usage Arguments Value References See Also Examples

Fits a Beta-Binomial distribution, to the given sample of scores and support points.

1 | ```
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`

.

M.C. Wang and J.V. Ryzing (1981). A Class of Smooth Estimators for Discrete Distributions. Biometrika, 68, 301-309.

1 2 3 4 5 6 | ```
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)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.