Learn R Programming

smaa (version 0.3-3)

smaa.cf: SMAA confidence factors

Description

Calculate SMAA confidence factors of the central weights.

Usage

smaa.cf(meas, cw)

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

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.

Author

Gert van Valkenhoef

Details

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

See Also

smaa.cw

Examples

Run this code
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)

Run the code above in your browser using DataLab