public class NormalInverseGaussianIGGen extends NormalInverseGaussianGen
InverseGaussianGen.
If
γ = (α^2 - β^2)1/2 with
0 <= | β| < α and
δ > 0, then
X∼NIG(α, β, μ, δ).| Constructor and Description |
|---|
NormalInverseGaussianIGGen(InverseGaussianGen ig,
NormalGen ng,
double beta,
double mu)
Creates a random variate generator with parameters
α, β = beta, μ = mu and δ,
using generators ig and ng, as described
above.
|
| Modifier and Type | Method and Description |
|---|---|
double |
nextDouble()
Generates a random number from the continuous distribution
contained in this object.
|
static double |
nextDouble(InverseGaussianGen ig,
NormalGen ng,
double beta,
double mu)
Generates a new variate from the distribution with
parameters α, β = beta, μ = mu and δ,
using generators ig and ng, as described in eq..
|
getAlpha, getBeta, getDelta, getMu, nextDouble, setParamsgetDistribution, getStream, nextArrayOfDouble, setStreampublic NormalInverseGaussianIGGen(InverseGaussianGen ig, NormalGen ng, double beta, double mu)
public static double nextDouble(InverseGaussianGen ig, NormalGen ng, double beta, double mu)
public double nextDouble()
RandomVariateGeninverseF
method of the distribution object.
Alternative generating methods are provided in subclasses.nextDouble in class RandomVariateGenTo submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.