singlechoice: update stimulus ratings after one rating event

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/singlechoice.R

Description

update stimulus ratings after one rating event

Usage

1
singlechoice(val1, val2, k)

Arguments

val1

rating of the preferred stimulus before the rating event

val2

rating of the unpreferred stimulus before the rating event

k

value of k-constant, which determines the maximum change of ratings after a single rating event

Value

vector with two values: updated ratings after the rating event for preferred and unpreferred stimulus

Author(s)

Christof Neumann

References

Elo, A. E. 1978. The Rating of Chess Players, Past and Present. New York: Arco.

See Also

EloRating

Examples

1
2
3
4
5
6
# little change because rating difference is large (positive), i.e. expectation is clear
singlechoice(1200, 500, 100)
# no change because rating difference is very large (positive), i.e. expectation is clear
singlechoice(1500, 500, 100)
# large change because rating difference is small (negative), i.e. expectation is clearly violated
singlechoice(500, 1500, 100)

EloChoice documentation built on May 30, 2017, 1:55 a.m.