StochasticDominance-class | R Documentation |
Represents two distributions (prospects) that are going to be compared using Stochastic Dominance (SD).
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.
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.