Home > Extreme Optimization Statistics Library for .NET > Reference > Extreme.Statistics Namespace


Extreme Optimization Statistics Library for .NET

NumericalVariable Class

Represents a statistical variable that takes on numerical values.

For a list of all members of this type, see NumericalVariable Members.

System.Object
   Variable
      NumericalVariable

[Visual Basic]
NotInheritable Public Class NumericalVariable
Inherits Variable
[C#]
public sealed class NumericalVariable : Variable

Remarks

Use the NumericalVariable class to represent a statistical variable that can take on numerical values.

NumericalVariable objects can be created from arrays, Vector, and DataColumn objects.

Numerical variables have the widest range of descriptive statistics available. In addition to the 'standard' statistics, like the Mean, the Median, and the StandardDeviation, more advanced parameters like the trimmed mean and the inter-quartile range are also available.

Most of the descriptive statistics properties are cached. Some are calculated on the fly, and the calculation is fairly expensive. For this reason, these properties are available as GetXXX methods, where XXX is the name of the property. Examples are: GetHarmonicMean, and GetInterQuartileRange.

Arithmetic operators have been defined on numerical variables that allow you to create new numerical variables by combining numerical variables with other numerical variables or real numbers. For languages that do not support operator overloading, static (Shared in Visual Basic) methods have been defined that perform the same operation.

In addition, the Apply method lets you transform a variable by applying a function of one variable to each value.

Requirements

Namespace: Extreme.Statistics

Assembly: Extreme.Statistics (in Extreme.Statistics.dll)

See Also

NumericalVariable Members | Extreme.Statistics Namespace | DateTimeVariable | CategoricalVariable