effFitAndSelect function

Automatic Fitting and Selection of Effectiveness Distributions

Automatic Fitting and Selection of Effectiveness Distributions

effContFitAndSelect(x, method = "AIC", silent = TRUE) effDiscFitAndSelect(x, support, method = "AIC", silent = TRUE)

Arguments

  • x: a sample of effectiveness scores between 0 and 1, or a matrix or data frame of topic-by-system scores.
  • method: selection method. See effSelect.
  • silent: logical: should the report of error messages be suppressed?
  • support: the support of the distribution (see support).

Returns

if x is a vector, the selected disttribution. If x is a matrix or data frame, a list of the selected distributions.

Examples

e <- effContFitAndSelect(web2010ap[,1], method = "logLik") c(e$mean, e$var) e2 <- effContFitAndSelect(web2010ap[,2], method = "logLik") c(e2$mean, e2$var) ee <- effContFitAndSelect(web2010ap[,1:2], method = "logLik") sapply(ee, function(e) c(e$mean, e$var)) # same as above

See Also

effFit and effSelect.

  • Maintainer: Julián Urbano
  • License: MIT + file LICENSE
  • Last published: 2018-06-15