Automatic Fitting and Selection of Effectiveness Distributions
effContFitAndSelect(x, method = "AIC", silent = TRUE) effDiscFitAndSelect(x, support, method = "AIC", silent = TRUE)
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
).if x
is a vector, the selected disttribution. If x
is a matrix or data frame, a list of the selected distributions.
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
effFit
and effSelect
.
Useful links