Dear all,
I am currently working on a project where I am comparing the distribution of clinical trials across two groups of pathologies A and B. I'll write Fa(Clinical trials) to designate "the distribution of clinical trials for diseases in group A", same for B.
I would like to use first-order stochastic dominance and test the null hypothesis of non-dominance of Fa(Clinical trials) over Fb(Clinical trials), against the alternative hypothesis that Fa(Clinical trials) first-order stochastically dominates Fb(Clinical trials).
This was done in Dirk Van de gaer Joost Vandenbossche José Luis Figueroa (2014), here is the working paper: http://documents.worldbank.org/curat...df/wps6345.pdf
Guidance is coming from Davidson and Duclos (2009): https://halshs.archives-ouvertes.fr/...43560/document
Is there any user-written program for this procedure (I found ksmirnov, but the null hypothesis is dominance)? If not, can you give me a little bit of guidance on how to conduct the tests I am interested in?

Thank you very much for your time and help with my question,
Please don't hesitate if you need further detail

All the best,
Spirae