Description Usage Arguments Details Value References Examples
Given the value of an attribute (v1) and the reference point of the same
attribute (v2), calculates the gain and returns it [1,2]. It is not built as
a stand alone function, rather as an object to be used by other major
functions, such as gainMarix, lossMatrix
.
1 | gainFunction(v1, v2)
|
v1 |
value of attribute j in round i |
v2 |
reference point of attribute j |
For understanding how this works, see the function itself or refer to the paper. It handles only discrete numbers, so no interval numbers. Also a point to improve further on.
gain, numeric value.
[1] Fan, Z. P., Zhang, X., Chen, F. D., & Liu, Y. (2013). Multiple attribute decision making considering aspiration-levels: A method based on prospect theory. Computers & Industrial Engineering, 65(2), 341-350.
[2]Kahneman, D., & Tversky, A. (1979). Prospect theory: An analysis of decision under risk. Econometrica: Journal of the Econometric Society, 263-291.
1 2 | gainFunction(5, 1) # returns: 4
gainFunction(2, 3) # returns: 0
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.