cr_luce: Apply Luce choie rule, aka Clarke choice rule

Description Usage Arguments Value References Examples

View source: R/cr_luce.R

Description

Apply Luce choie rule, aka Clarke choice rule

Usage

1

Arguments

x

A numeric vector or matrix with probabilistic predictions for actions. If x is a vector, binary actions are assumed. If x is a matrix, column 1 holds predictions for action 1, column 2 for action 2, etc.

Value

A matrix holding the probability to select each action in a column

References

Luce, R. D. (1959). Individual Choice Behavior: A Theoretical Analysis. John Wiley and sons. New York. Clarke, F. R. (1957). Constant‐ratio rule for confusion matrices in speech communication. The Journal of the Acoustical Society of America, 29(6), 715-720.

Examples

1
# No examples

JanaJarecki/cognitiveutils documentation built on Sept. 9, 2020, 9:11 a.m.