View source: R/Uni_SD_Routines.R
NNS.FSD.uni | R Documentation |
Uni-directional test of first degree stochastic dominance using lower partial moments used in SD Efficient Set routine.
NNS.FSD.uni(x, y, type = "discrete")
x |
a numeric vector. |
y |
a numeric vector. |
type |
options: ("discrete", "continuous"); |
Returns (1) if "X FSD Y"
, else (0).
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")}
Viole, F. (2017) "A Note on Stochastic Dominance." \Sexpr[results=rd]{tools:::Rd_expr_doi("10.2139/ssrn.3002675")}
## Not run:
set.seed(123)
x <- rnorm(100) ; y <- rnorm(100)
NNS.FSD.uni(x, y)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.