StochasticDominance-class: StochasticDominance Class

StochasticDominance-classR 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.


RSD documentation built on June 21, 2025, 5:09 p.m.