smaa.cf: SMAA confidence factors

View source: R/smaa.R

smaa.cfR Documentation

SMAA confidence factors

Description

Calculate SMAA confidence factors of the central weights.

Usage

smaa.cf(meas, cw)

Arguments

meas

Criteria measurements. An N \times m \times n array, where meas[i,,] is a matrix where the m alternatives are the rows and the n criteria the columns. The values must be standardized measurements (i.e. after application of the partial value function).

cw

An m \times n matrix of central weights, where each row corresponds to an alternative and each column to a criterion.

Details

The confidence factor for an alternative is its first-rank acceptability under its central weight.

Value

An object of class smaa.cf, with the following elements:

cf

A vector of confidence factors, one for each alternative.

cw

The central weights (see smaa.cw).

The number of SMAA iterations is stored in attr(x, "smaa.N").

Author(s)

Gert van Valkenhoef

See Also

smaa.cw

Examples

N <- 1E4; m <- 2; n <- 3
meas <- dget(system.file("extdata/thrombo-meas.txt.gz", package="smaa"))
pref <- dget(system.file("extdata/thrombo-weights-nopref.txt.gz", package="smaa"))

# Calculate central weights
values <- smaa.values(meas, pref)
ranks <- smaa.ranks(values)
cw <- smaa.cw(ranks, pref)
print(cw)
cf <- smaa.cf(meas, cw)
print(cf)
plot(cf)

smaa documentation built on April 28, 2023, 5:07 p.m.