Represents the summary data in the cells of an ANOVA table.

Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Class CellArray _
	Inherits DataArrayBase
C#
public class CellArray : DataArrayBase
C++
public ref class CellArray : public DataArrayBase

Methods

IconTypeDescription
Clear()
Resets the value of all data cells to zero.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
Finalize()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
GetCellVariable(Object)
Returns a NumericalVariable containing the data for a specific cell of the CellArray.
GetCellVariable(Object, Object)
Returns a NumericalVariable containing the data for a specific cell of the CellArray.
GetCellVariables()
Returns an array of NumericalVariable objects containing the data in each cell of the CellArray.
GetHashCode()
Serves as a hash function for a particular type.
GetLength(Int32)
Returns an integer that represents the number of elements in the specified dimension of the DataArrayBase.
GetLinearIndex(Int32[]())
Gets the linear index corresponding to the specified dimension indexes.
GetLinearIndex(Object)
Returns the linearized index of the cell at the specified index in the DataArrayBase.
GetLinearIndex(Object, Object)
Returns the linearized index of the cell with the specified indexes in a two-dimensional DataArrayBase.
GetLinearIndex(Object, Object, Object)
Returns the linearized index of the cell with the specified indexes in a three-dimensional DataArrayBase.
GetScale(Int32)
Returns the CategoricalScale associated with the specified dimension.
GetType()
Gets the Type of the current instance.
GetValuesArray()
Gets the array of data values of the DataArrayBase.
MemberwiseClone()
Creates a shallow copy of the current Object.
SetScale(CategoricalScale, Object[]())
Sets the CategoricalScale for a one-dimensional DataArrayBase.
SetScales(CategoricalScale[](), Object[]())
Sets the CategoricalScale for all dimensions a multi-dimensional DataArrayBase.
ToString()
Returns a String that represents the current Object.

Constructors

IconTypeDescription
CellArrayNew(NumericalVariable, VariableCollection)
Constructs a new CellArray object using the specified variables.
CellArrayNew(NumericalVariable, CategoricalVariable)
Constructs a new CellArray object using the specified variables.
CellArrayNew(NumericalVariable, Variable[]())
Constructs a new CellArray object using the specified variables.

Properties

IconTypeDescription
DataLength
Gets the total number of data cells in the DataArrayBase.
IsBalanced
Gets a value that indicates whether all the cells in the ANOVA design have the same number of observations.
Item(Object)
Gets the cell at the specified level in a one-factor design.
Item(Object, Object)
Gets the cell at the specified levels in a two-factor design, or a one-factor design with repeated measures.
Item(Object, Object, Object)
Gets the cell at the specified levels in a three-factor design, or a two-factor design with repeated measures.
Length
Gets the total number of cells in the design.
ObservationsPerCell
Gets the number of observations per cell.
Rank
Gets the rank (number of dimensions) of the DataArrayBase.

Remarks

Use a CellArray object to represent data that is grouped according to one or more categorical variables.

The data in an Analysis of Variance model is organized into cells. Each cell contains the data for a specific set of factor levels. This organization is encapsulated in a CellArray object. The cell collection of an AnovaModel can be accessed through its Cells property.

Analysis of Variance models aren't the only application of cell collections. It is useful in any situation where data is grouped according to one or more categorical variables.

Individual cells are indexed through the indexed Item(Object) property. The number of indexes equals the number of categorical variables or factors in the data. Variables containing the data for the individual variables can be obtained through the GetCellVariable(Object) and GetCellVariables() methods.

Inheritance Hierarchy

System.Object
  Extreme.Statistics.DataArrayBase
    Extreme.Statistics.CellArray