Represents a statistical Variable that can take on a discrete set of values.

Namespace: Extreme.Statistics
Assembly:   Extreme.Numerics (in Extreme.Numerics)
Version: 2.1.7017.0

Syntax

Visual Basic (Declaration)
Public Class CategoricalVariable _
	Inherits Variable _
	Implements IList(Of Object), ICollection(Of Object), IEnumerable(Of Object), IEnumerable
C#
public class CategoricalVariable : Variable, IList<Object>, ICollection<Object>, IEnumerable<Object>, IEnumerable
Visual C++
public ref class CategoricalVariable : public Variable, IList<Object^>, ICollection<Object^>, IEnumerable<Object^>, IEnumerable

Remarks

Use a CategoricalVariable to represent observations that can take on a discrete set of values.

Every CategoricalVariable has a CategoricalScale object associated with it, that represents the possible values of the variable.

If the scale is IsOrdered, a larger number of descriptive statistics are available, including the Median, the Minimum and the Maximum. For unordered data, only the Mode is available.

Inheritance Hierarchy

System.Object
  Extreme.Statistics.Variable
    Extreme.Statistics.CategoricalVariable