rmnts | R Documentation |
rmnts
generates random vector following the n dimensional NTS distribution using subordination.
r = \mu + diag(\sigma) X
,
where
X
follows stdNTS_n(\alpha, \theta, \beta, \Sigma)
rmnts(strPMNTS, numofsample, rW = NULL, rTau = NULL)
strPMNTS |
Structure of parameters for the n-dimensional NTS distribution.
|
numofsample |
number of samples. |
Simulated NTS random vectors
Kim, Y. S. (2020) Portfolio Optimization on the Dispersion Risk and the Asymmetric Tail Risk https://arxiv.org/pdf/2007.13972.pdf
strPMNTS <- list(ndim = 2,
mu = c( 0.00011, 0.00048 ),
sigma = c( 0.0162, 0.0231 ),
alpha = 1.23,
theta = 3.607,
beta = c( -0.1209, 0.0905 ),
Rho = matrix( data = c(1.0, 0.55, 0.55, 1.0), nrow = 2, ncol = 2)
)
gensim <- rmnts( strPMNTS, 100 )
plot(gensim)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.