effSelect: Model Selection for Effectiveness Distributions

Description Usage Arguments Value See Also Examples

View source: R/effSelect.R

Description

Functions to compute the log-likelihood, the Akaike Information Criterion, and the Bayesian Information Criterion for an effectiveness distribution. effSelect and which.effSelect are helper function for automatic selection from a given list of candidates.

Usage

1
2
3
4
5
6
effSelect(effs, method = "AIC", ...)

which.effSelect(effs, method = "AIC", ...)

## S3 method for class 'eff'
logLik(object, ...)

Arguments

effs

the list of candidate distributions to select from.

method

selection method. One of "AIC" (default), "BIC", or "logLik".

...

other parameters to the selection function.

object

an effectiveness distribution.

Value

the selected disttribution (effSelect), or its index within effs (which.effSelect).

See Also

logLik, AIC, BIC for details on model selection.

See effFitAndSelect to fit and select automatically.

Examples

1
2
3
4
5
6
7
ee <- effContFit(web2010ap[,5])
e <- effSelect(ee, method = "BIC")
e2 <- ee[[which.effSelect(ee, method = "BIC")]] # same as e

logLik(e)
AIC(e, k=4)
BIC(e)

simIReff documentation built on May 2, 2019, 2:46 p.m.