Description Usage Arguments Details Value References See Also Examples
This function works with the simple additive weighting method. It takes a value matrix and the weight of each attribute and calculates the prospect value for each alternative (round) [1,2].
1 | overall_pv_extend(value_matrix, weight = NULL)
|
value_matrix |
a List of numeric matrices, results from using the value function on previously calculated normalized gain and loss matrices. |
weight |
numeric vector. Represents the importance or relevance that an
attribute has and the weight it should have in the calculation of the
prospect value. Alternatively, you can enter a list of numeric vectors, each
element of the list corresponding to one user in |
You need to pre-calculate the value matrix, for example with
pvalue_matrix
and give it as a parameter. This is one of the
few functions of this package that do not allow you to give the raw data
from your product Configurator, but rather calculate a previous
result(value matrix) to input here.
value_matrix
ncol = number of attributes, nrow = number of rounds.
a list of overall prospect values for each round (each product alternative). Each element of a list is the result for one user.
[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 3 4 5 6 | overall_pv_extend(my_value_matrix, weight = c(0.1, 0.2, 0.4, 0.3))
overall_pv_extend(pvMatrix(someData, someUsers), weight = getAttrWeights(someData, someUsers))
overall_pv_extend(my_matrix, weight=c(0.8,0.05,0.05,0.1))
overall_pv_extend(vMatrix, weight = aWeightVector)
## Not run: overall_pv_extend(value_mx) # Always provide weights or dataset.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.