Represents a stable distribution in Nolan's S0 parametrization.
The characteristic function in Nolan's S0 parametrization is:
log(phi(t))= -scale^alpha |t|^alpha (1+i beta Sign(t) Tan(pi alpha/2) (|scale t|^(1-alpha)-1)) + i location t (for alpha not equal to 1)and
log(phi(t)) = -scale |t| (1+i beta Sign(t) (2/pi) Log(scale |t|)) + i location t (for alpha equal to 1)
Reference: J.P.Nolan, Numerical calculation of stable densities and distribution functions. Communication is statistics - Stochastic models, 13, 759-774, 1999
Reference: S.Borak, W.Härdle, R.Weron, Stable distributions. SFB 649 Discussion paper 2005-2008, http://sfb649.wiwi.hu-berlin.de, ISSN 1860-5664
If you are interested in accurate calculations when beta is close to 1 or -1, you should use those functions which allow you to provide the parameter abe
. This helps
specifying beta with higher accuracy close to +1 or -1. For instance, by using abe=1E-30 and beta=1, it is possible to specify beta=1-1E-30, which is impossible otherwise since with the 64-bit representation of numbers.
Constructor | Description |
Full Usage:
StableDistributionS0()
|
Creates a new instance of this distribution with default parameters (alpha=1, beta=0) and the default generator. |
Full Usage:
StableDistributionS0(generator)
Parameters:
Generator
-
Random number generator to be used with this distribution.
|
Creates a new instance of this distribution with default parameters (alpha=1, beta=0).
|
Full Usage:
StableDistributionS0(alpha, beta)
Parameters:
float
-
Distribution parameter alpha (broadness exponent).
beta : float
-
Distribution parameter beta (skew).
|
Creates a new instance of this distribution with given parameters (alpha, beta) and the default random number generator.
|
Full Usage:
StableDistributionS0(alpha, beta, abe)
Parameters:
float
-
Distribution parameter alpha (broadness exponent).
beta : float
-
Distribution parameter beta (skew).
abe : float
-
Parameter to specify beta with higher accuracy around -1 and 1. Is 1-beta for beta>=0 or 1+beta for beta<0.
|
Creates a new instance of this distribution with given parameters (alpha, beta, abe) and the default random number generator.
|
Full Usage:
StableDistributionS0(alpha, beta, scale, location)
Parameters:
float
-
Distribution parameter alpha (broadness exponent).
beta : float
-
Distribution parameter beta (skew).
scale : float
-
Scaling parameter (broadness of the distribution).
location : float
-
Location of the distribution.
|
Creates a new instance of this distribution with given parameters (alpha, beta, scale, location) and the default random number generator.
|
Full Usage:
StableDistributionS0(alpha, beta, scale, location, generator)
Parameters:
float
-
Distribution parameter alpha (broadness exponent).
beta : float
-
Distribution parameter beta (skew).
scale : float
-
Scaling parameter (broadness of the distribution).
location : float
-
Location of the distribution.
generator : Generator
-
Random number generator to be used with this distribution.
|
Creates a new instance of this distribution with given parameters (alpha, beta, scale, location) and the provided random number generator.
|
Full Usage:
StableDistributionS0(alpha, beta, abe, scale, location)
Parameters:
float
-
Distribution parameter alpha (broadness exponent).
beta : float
-
Distribution parameter beta (skew).
abe : float
-
Parameter to specify beta with higher accuracy around -1 and 1. Is 1-beta for beta>=0 or 1+beta for beta<0.
scale : float
-
Scaling parameter (broadness of the distribution).
location : float
-
Location of the distribution.
|
Creates a new instance of this distribution with given parameters (alpha, beta, abe, scale, location) and the default random number generator.
|
Full Usage:
StableDistributionS0(alpha, beta, abe, scale, location, generator)
Parameters:
float
-
Distribution parameter alpha (broadness exponent).
beta : float
-
Distribution parameter beta (skew).
abe : float
-
Parameter to specify beta with higher accuracy around -1 and 1. Is 1-beta for beta>=0 or 1+beta for beta<0.
scale : float
-
Scaling parameter (broadness of the distribution).
location : float
-
Location of the distribution.
generator : Generator
-
Random number generator to be used with this distribution.
|
Creates a new instance of this distribution with given parameters (alpha, beta, abe, scale, location) and the provided random number generator.
|
Instance member | Description |
Full Usage:
this.CDF
Parameters:
float
Returns: float
Modifiers: abstract |
|
Full Usage:
this.Initialize
Parameters:
float
beta : float
abe : float
sigma : float
mu : float
|
Updates the helper variables that store intermediate results for generation of exponential distributed random numbers.
|
Full Usage:
this.Maximum
Returns: float
Modifiers: abstract |
|
Full Usage:
this.Mean
Returns: float
Modifiers: abstract |
|
Full Usage:
this.Median
Returns: float
Modifiers: abstract |
|
Full Usage:
this.Minimum
Returns: float
Modifiers: abstract |
|
Full Usage:
this.Mode
Returns: float[]
Modifiers: abstract |
|
Full Usage:
this.NextDouble
Returns: float
Modifiers: abstract |
|
Full Usage:
this.PDF
Parameters:
float
Returns: float
Modifiers: abstract |
|
Full Usage:
this.Quantile
Parameters:
float
Returns: float
Modifiers: abstract |
|
Full Usage:
this.Variance
Returns: float
Modifiers: abstract |
|
Static member | Description |
Full Usage:
StableDistributionS0.CDF(x, alpha, beta)
Parameters:
float
alpha : float
beta : float
Returns: float
|
|
Full Usage:
StableDistributionS0.CDF(x, alpha, beta, scale, location)
Parameters:
float
alpha : float
beta : float
scale : float
location : float
Returns: float
|
|
Full Usage:
StableDistributionS0.CDF(x, alpha, beta, tempStorage, precision)
Parameters:
float
alpha : float
beta : float
tempStorage : byref<obj>
precision : float
Returns: float
|
|
Full Usage:
StableDistributionS0.CDF(x, alpha, beta, scale, location, tempStorage, precision)
Parameters:
float
alpha : float
beta : float
scale : float
location : float
tempStorage : byref<obj>
precision : float
Returns: float
|
|
Full Usage:
StableDistributionS0.CDF(x, alpha, beta, abe)
Parameters:
float
alpha : float
beta : float
abe : float
Returns: float
|
|
Full Usage:
StableDistributionS0.CDF(x, alpha, beta, abe, scale, location)
Parameters:
float
alpha : float
beta : float
abe : float
scale : float
location : float
Returns: float
|
|
Full Usage:
StableDistributionS0.CDF(x, alpha, beta, abe, scale, location, tempStorage, precision)
Parameters:
float
alpha : float
beta : float
abe : float
scale : float
location : float
tempStorage : byref<obj>
precision : float
Returns: float
|
|
Full Usage:
StableDistributionS0.CDFMethodAlphaOne(x, beta, abe, tempStorage, precision)
Parameters:
float
beta : float
abe : float
tempStorage : byref<obj>
precision : float
Returns: float
|
|
Full Usage:
StableDistributionS0.GetAgt1GnParameter(x, alpha, beta, abe, factorp, factorw, dev, logPrefactor)
Parameters:
float
alpha : float
beta : float
abe : float
factorp : byref<float>
factorw : byref<float>
dev : byref<float>
logPrefactor : byref<float>
|
|
Full Usage:
StableDistributionS0.GetAgt1GpParameter(x, alpha, beta, abe, factorp, factorw, dev, logPrefactor)
Parameters:
float
alpha : float
beta : float
abe : float
factorp : byref<float>
factorw : byref<float>
dev : byref<float>
logPrefactor : byref<float>
|
|
Full Usage:
StableDistributionS0.GetAlt1GnParameter(x, alpha, beta, abe, factorp, facdiv, dev, logPdfPrefactor)
Parameters:
float
alpha : float
beta : float
abe : float
factorp : byref<float>
facdiv : byref<float>
dev : byref<float>
logPdfPrefactor : byref<float>
|
|
Full Usage:
StableDistributionS0.GetAlt1GpParameter(x, alpha, beta, abe, factorp, facdiv, dev, logPdfPrefactor)
Parameters:
float
alpha : float
beta : float
abe : float
factorp : byref<float>
facdiv : byref<float>
dev : byref<float>
logPdfPrefactor : byref<float>
|
|
Full Usage:
StableDistributionS0.IsValidAlpha(alpha)
Parameters:
float
Returns: bool
|
|
Full Usage:
StableDistributionS0.IsValidBeta(beta)
Parameters:
float
Returns: bool
|
|
Full Usage:
StableDistributionS0.IsValidMu(mu)
Parameters:
float
Returns: bool
|
|
Full Usage:
StableDistributionS0.IsValidSigma(sigma)
Parameters:
float
Returns: bool
|
|
Full Usage:
StableDistributionS0.PDF(x, alpha, beta)
Parameters:
float
alpha : float
beta : float
Returns: float
|
|
Full Usage:
StableDistributionS0.PDF(x, alpha, beta, sigma, mu)
Parameters:
float
alpha : float
beta : float
sigma : float
mu : float
Returns: float
|
|
Full Usage:
StableDistributionS0.PDF(x, alpha, beta, sigma, mu, tempStorage, precision)
Parameters:
float
alpha : float
beta : float
sigma : float
mu : float
tempStorage : byref<obj>
precision : float
Returns: float
|
|
Full Usage:
StableDistributionS0.PDF(x, alpha, beta, abe, sigma, mu, tempStorage, precision)
Parameters:
float
alpha : float
beta : float
abe : float
sigma : float
mu : float
tempStorage : byref<obj>
precision : float
Returns: float
|
|
Full Usage:
StableDistributionS0.PDF(x, alpha, beta, tempStorage, precision)
Parameters:
float
alpha : float
beta : float
tempStorage : byref<obj>
precision : float
Returns: float
|
|
Full Usage:
StableDistributionS0.PDF(x, alpha, beta, abe, tempStorage, precision)
Parameters:
float
alpha : float
beta : float
abe : float
tempStorage : byref<obj>
precision : float
Returns: float
|
|
Full Usage:
StableDistributionS0.PDFMethodAlphaOne(x, beta, abe, tempStorage, precision)
Parameters:
float
beta : float
abe : float
tempStorage : byref<obj>
precision : float
Returns: float
|
|
Full Usage:
StableDistributionS0.Quantile(p, alpha, beta)
Parameters:
float
alpha : float
beta : float
Returns: float
|
|
Full Usage:
StableDistributionS0.Quantile(p, alpha, beta, abe)
Parameters:
float
alpha : float
beta : float
abe : float
Returns: float
|
|
Full Usage:
StableDistributionS0.Quantile(p, alpha, beta, abe, tempStorage, precision)
Parameters:
float
alpha : float
beta : float
abe : float
tempStorage : byref<obj>
precision : float
Returns: float
|
|