StochasticDominance-class {RSD} | R Documentation |
StochasticDominance Class
Description
Represents two distributions (prospects) that are going to be compared using Stochastic Dominance (SD).
Details
It contains the input validation needed for comparing two prospects. For example, having sorted 'outcome', each of 'prob1' and 'prob2' adds up to one, arguments having the same lengths, and having matched probability, cumulative, and ssd arguments.
Slots
outcome
Numeric vector. The combined outcome values in ascending order.
prob1,prob2
Numeric vectors. Probabilities corresponding to the prospects.
cdf1,cdf2
Numeric vectors. Cumulative values corresponding to the prospects.
ssd1,ssd2
Numeric vectors. SSD values corresponding to the prospects.
[Package RSD version 0.2.0 Index]