assd.test {RSD} | R Documentation |
Compares prospects based on ASSD methods
Description
It compares two prospects using ASSD criteria, that is the prospect having the minimum violation area from a classic SSD.
Usage
assd.test(sd.obj, type)
Arguments
sd.obj |
StochasticDominance object. |
type |
A character vector, including the name of ASSD methods. |
Details
The ‘type' argument must be one of the ’ll' or 'ths', otherwise it will raise an error.
The 'epsilon' and 'winner' output parameters are the ones that should be taken most. The others are the calculation details and are provided for further investigation. A lower the 'epsilon', lower the violation ratio of the dominant distribution, lower the eliminated extreme utilities, higher the number of decision-makers who agree on the dominant distribution.
Value
A list, including calculation details.
See Also
[assd.ll.test(), assd.ths.test] for more details.
Examples
sd = createStochasticDominance(outcome1 = c(1,4,7),
outcome2 = c(2,3,5),
prob1 = c(1/3,1/3,1/3),
prob2 = c(1/6,1/6,2/3))
assd.test(sd, 'll')
assd.test(sd, 'ths')
[Package RSD version 0.2.0 Index]