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')
Run the code above in your browser using DataLab