Click or drag to resize
NormalDistribution Class
Evaluates the normal (Gaussian) probability density for a given set of data.
Inheritance Hierarchy
SystemObject
  Imsl.StatNormalDistribution

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
[SerializableAttribute]
public class NormalDistribution : IProbabilityDistribution, 
	IDistribution

The NormalDistribution type exposes the following members.

Constructors
  NameDescription
Public methodNormalDistribution
Initializes a new instance of the NormalDistribution class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEval(Double)
Fits a normal (Gaussian) probability distribution to xData and returns the probability density at each value.
Public methodEval(Double, Object)
Evaluates a normal (Gaussian) probability density at a given point xData.
Public methodEval(Double, Object)
Evaluates a normal (Gaussian) probability distribution with the given parameters at each point in xData and returns the probability density at each value.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetParameters
Returns the current parameters of the normal probability density function.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyMean
Returns the population mean of xData.
Public propertyStandardDeviation
Returns the population standard deviation.
Top
Remarks

NormalDistribution evaluates the normal probability density of a given set of data, xData. If parameters are not supplied, the Eval method fits the normal probability density function to the data by first calculating the mean and standard deviation of xData. The normal probability density function is defined as:


            f(x) = \frac{1}{\sigma \sqrt{2\pi}} e^{\frac{{-(x - \mu)}^2}{{2 \sigma}^2}}
where \mu and \sigma are the mean and standard deviation.

The DataMining package class NaiveBayesClassifier uses NormalDistribution as the default method to train continuous data.

See Also