SkewNormalDistribution Class 
Namespace: Accord.Statistics.Distributions.Univariate
[SerializableAttribute] public class SkewNormalDistribution : UnivariateContinuousDistribution
The SkewNormalDistribution type exposes the following members.
Name  Description  

SkewNormalDistribution 
Constructs a Skew normal distribution with
zero location, unit scale and zero shape.
 
SkewNormalDistribution(Double) 
Constructs a Skew normal distribution with
given location, unit scale and zero skewness.
 
SkewNormalDistribution(Double, Double) 
Constructs a Skew normal distribution with
given location and scale and zero skewness.
 
SkewNormalDistribution(Double, Double, Double) 
Constructs a Skew normal distribution
with given mean and standard deviation.

Name  Description  

Entropy 
Not supported.
(Overrides UnivariateContinuousDistributionEntropy.)  
Kurtosis 
Gets the excess kurtosis for this distribution.
 
Location 
Gets the skewnormal distribution's location value ξ (ksi).
 
Mean 
Gets the mean for this distribution.
(Overrides UnivariateContinuousDistributionMean.)  
Median 
Gets the median for this distribution.
(Inherited from UnivariateContinuousDistribution.)  
Mode 
Gets the mode for this distribution.
(Inherited from UnivariateContinuousDistribution.)  
Quartiles 
Gets the Quartiles for this distribution.
(Inherited from UnivariateContinuousDistribution.)  
Scale 
Gets the skewnormal distribution's scale value ω (omega).
 
Shape 
Gets the skewnormal distribution's shape value α (alpha).
 
Skewness 
Gets the skewness for this distribution.
 
StandardDeviation 
Gets the Standard Deviation (the square root of
the variance) for the current distribution.
(Inherited from UnivariateContinuousDistribution.)  
Support 
Gets the support interval for this distribution.
(Overrides UnivariateContinuousDistributionSupport.)  
Variance 
Gets the variance for this distribution.
(Overrides UnivariateContinuousDistributionVariance.) 
Name  Description  

Clone 
Creates a new object that is a copy of the current instance.
(Overrides DistributionBaseClone.)  
ComplementaryDistributionFunction 
Gets the complementary cumulative distribution function
(ccdf) for this distribution evaluated at point x.
This function is also known as the Survival function.
(Inherited from UnivariateContinuousDistribution.)  
CumulativeHazardFunction 
Gets the cumulative hazard function for this
distribution evaluated at point x.
(Inherited from UnivariateContinuousDistribution.)  
DistributionFunction(Double) 
Gets the cumulative distribution function (cdf) for
this distribution evaluated at point x.
(Overrides UnivariateContinuousDistributionDistributionFunction(Double).)  
DistributionFunction(Double, Double) 
Gets the cumulative distribution function (cdf) for this
distribution in the semiclosed interval (a; b] given as
P(a < X ≤ b).
(Inherited from UnivariateContinuousDistribution.)  
Equals  Determines whether the specified object is equal to the current object. (Inherited from Object.)  
Finalize  Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)  
Fit(Double) 
Fits the underlying distribution to a given set of observations.
(Inherited from UnivariateContinuousDistribution.)  
Fit(Double, IFittingOptions) 
Fits the underlying distribution to a given set of observations.
(Inherited from UnivariateContinuousDistribution.)  
Fit(Double, Double) 
Fits the underlying distribution to a given set of observations.
(Inherited from UnivariateContinuousDistribution.)  
Fit(Double, Int32) 
Fits the underlying distribution to a given set of observations.
(Inherited from UnivariateContinuousDistribution.)  
Fit(Double, Double, IFittingOptions) 
Fits the underlying distribution to a given set of observations.
(Inherited from UnivariateContinuousDistribution.)  
Fit(Double, Int32, IFittingOptions) 
Fits the underlying distribution to a given set of observations.
(Inherited from UnivariateContinuousDistribution.)  
Generate 
Generates a random observation from the current distribution.
(Inherited from UnivariateContinuousDistribution.)  
Generate(Int32) 
Generates a random vector of observations from the current distribution.
(Inherited from UnivariateContinuousDistribution.)  
Generate(Int32, Double) 
Generates a random vector of observations from the current distribution.
(Inherited from UnivariateContinuousDistribution.)  
GetHashCode  Serves as the default hash function. (Inherited from Object.)  
GetRange 
Gets the distribution range within a given percentile.
(Inherited from UnivariateContinuousDistribution.)  
GetType  Gets the Type of the current instance. (Inherited from Object.)  
HazardFunction 
Gets the hazard function, also known as the failure rate or
the conditional failure density function for this distribution
evaluated at point x.
(Inherited from UnivariateContinuousDistribution.)  
InverseDistributionFunction 
Gets the inverse of the cumulative distribution function (icdf) for
this distribution evaluated at probability p. This function
is also known as the Quantile function.
(Inherited from UnivariateContinuousDistribution.)  
LogCumulativeHazardFunction 
Gets the log of the cumulative hazard function for this
distribution evaluated at point x.
(Inherited from UnivariateContinuousDistribution.)  
LogProbabilityDensityFunction 
Gets the logprobability density function (pdf) for
this distribution evaluated at point x.
(Overrides UnivariateContinuousDistributionLogProbabilityDensityFunction(Double).)  
MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)  
Normal 
Create a new SkewNormalDistribution that
corresponds to a NormalDistribution with
the given mean and standard deviation.
 
ProbabilityDensityFunction 
Gets the probability density function (pdf) for
this distribution evaluated at point x.
(Overrides UnivariateContinuousDistributionProbabilityDensityFunction(Double).)  
QuantileDensityFunction 
Gets the first derivative of the
inverse distribution function (icdf) for this distribution evaluated
at probability p.
(Inherited from UnivariateContinuousDistribution.)  
ToString 
Returns a String that represents this instance.
(Inherited from DistributionBase.)  
ToString(IFormatProvider) 
Returns a String that represents this instance.
(Inherited from DistributionBase.)  
ToString(String) 
Returns a String that represents this instance.
(Inherited from DistributionBase.)  
ToString(String, IFormatProvider) 
Returns a String that represents this instance.
(Overrides DistributionBaseToString(String, IFormatProvider).) 
Name  Description  

HasMethod 
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)  
ToT  Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)  
ToT  Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by Matrix.) 
In probability theory and statistics, the skew normal distribution is a continuous probability distribution that generalises the normal distribution to allow for nonzero skewness.
References:
This examples shows how to create a Skew normal distribution and compute some of its properties and derived measures.
// Create a Skew normal distribution with location 2, scale 3 and shape 4.2 var skewNormal = new SkewNormalDistribution(location: 2, scale: 3, shape: 4.2); double mean = skewNormal.Mean; // 4.3285611780515953 double median = skewNormal.Median; // 4.0230040653062265 double var = skewNormal.Variance; // 3.5778028400709641 double mode = skewNormal.Mode; // 3.220622226764422 double cdf = skewNormal.DistributionFunction(x: 1.4); // 0.020166854942526125 double pdf = skewNormal.ProbabilityDensityFunction(x: 1.4); // 0.052257431834162059 double lpdf = skewNormal.LogProbabilityDensityFunction(x: 1.4); // 2.9515731621912877 double ccdf = skewNormal.ComplementaryDistributionFunction(x: 1.4); // 0.97983314505747388 double icdf = skewNormal.InverseDistributionFunction(p: cdf); // 1.3999998597203041 double hf = skewNormal.HazardFunction(x: 1.4); // 0.053332990517581239 double chf = skewNormal.CumulativeHazardFunction(x: 1.4); // 0.020372981958858238 string str = skewNormal.ToString(CultureInfo.InvariantCulture); // Sn(x; ξ = 2, ω = 3, α = 4.2)