effFitAndSelect {simIReff}R Documentation

Automatic Fitting and Selection of Effectiveness Distributions

Description

Automatic Fitting and Selection of Effectiveness Distributions

Usage

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).

Value

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

See Also

effFit and effSelect.

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

[Package simIReff version 1.0 Index]