View source: R/simulation.functions.R
rNIG | R Documentation |
internal function for simulating nig iid random variables using V ~ IG(nu,h^2 nu) Z ~ N(0, 1) X ~ delta + (V - h) * mu + sqrt(V) * sigma * Z
rNIG(n = 1, delta, mu, sigma, nu, h = NULL)
n |
number of simulations (if h is not NULL then n is ignored) |
delta |
(real) location parameter |
mu |
(real) symmetric parameter |
sigma |
(real) scale parameter |
nu |
(real, >0) shape parameter |
h |
(m x 1) (h = 1) discritization vector |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.