Represents a collection of variables in a statistical model.

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

Syntax

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

Remarks

Use the VariableCollection class to group one or more variables in a collection. Variable collections are used by statistical model classes to hold the dependent and independent variables.

Variable collections can be created from other VariableCollection objects, arrays of Variable objects, as well as from ADO.NET objects like DataTable and IDataReader objects.

To add or remove variables, use the Add(Variable) and Remove(Variable) methods. You can add multiple variables using the AddRange(Variable[]()) method.

Inheritance Hierarchy

System.Object
  System.Collections.ObjectModel.Collection<>
    Extreme.Statistics.VariableCollection
      Extreme.Statistics.TimeSeriesAnalysis.TimeSeriesCollection