NNS.SSD | R Documentation |
Bi-directional test of second degree stochastic dominance using lower partial moments.
NNS.SSD(x, y, plot = TRUE)
x |
a numeric vector. |
y |
a numeric vector. |
plot |
logical; |
Returns one of the following SSD results: "X SSD Y"
, "Y SSD X"
, or "NO SSD EXISTS"
.
Fred Viole, OVVO Financial Systems
Viole, F. and Nawrocki, D. (2016) "LPM Density Functions for the Computation of the SD Efficient Set." Journal of Mathematical Finance, 6, 105-126. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.4236/jmf.2016.61012")}.
## Not run:
set.seed(123)
x <- rnorm(100) ; y <- rnorm(100)
NNS.SSD(x, y)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.