Click or drag to resize

SkewedGeneralizedErrorSample(Random, Double, Double, Double, Double) Method

Generates a sample from the Skew Generalized Error distribution.

Namespace: Altaxo.Calc.Distributions
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static double Sample(
	Random rnd,
	double location,
	double scale,
	double skew,
	double p
)

Parameters

rnd  Random
The random number generator to use.
location  Double
The location (μ) of the distribution.
scale  Double
The scale (σ) of the distribution. Range: σ > 0.
skew  Double
The skew, 1 > λ > -1
p  Double
Parameter that controls kurtosis. Range: p > 0

Return Value

Double
a sample from the distribution.
See Also