powered by
Uni-directional test of third degree stochastic dominance using lower partial moments used in SD Efficient Set routine.
NNS.TSD.uni(x, y)
a numeric vector.
Returns (1) if "X TSD Y", else (0).
"X TSD Y"
Viole, F. and Nawrocki, D. (2016) "LPM Density Functions for the Computation of the SD Efficient Set." Journal of Mathematical Finance, 6, 105-126. https://www.scirp.org/Journal/PaperInformation.aspx?PaperID=63817.
# NOT RUN { set.seed(123) x <- rnorm(100) ; y <- rnorm(100) NNS.TSD.uni(x, y) # }
Run the code above in your browser using DataLab