Click or drag to resize
TableMultiWay Class
Tallies observations into a multi-way frequency table.
Inheritance Hierarchy
SystemObject
  Imsl.StatTableMultiWay

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
[SerializableAttribute]
public class TableMultiWay

The TableMultiWay type exposes the following members.

Constructors
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
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 methodGetGroups
Returns the number of observations (rows) in each group.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
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 methodSetFrequencies
Sets the frequencies for each observation in x.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyBalancedTable
An object containing the balanced table.
Public propertyUnbalancedTable
An object containing the unbalanced table.
Top
Remarks

The TableMultiWay class determines the distinct values in multivariate data and computes frequencies for the data. This class accepts the data in the matrix x, but performs computations only for the variables (columns) in the first nkeys columns of x or by the variables specified in indkeys. In general, the variables for which frequencies should be computed are discrete; they should take on a relatively small number of different values. Variables that are continuous can be grouped first. TableMultiWay can be used to group variables and determine the frequencies of groups.

The read-only property BalancedTable returns a TableBalanced object. Its GetValues method returns an array with the unique values in the vector of the variables and tallies the number of unique values of each variable table. Each combination of one value from each variable forms a cell in a multi-way table. The frequencies of these cells are entered in a table so that the first variable cycles through its values exactly once, and the last variable cycles through its values most rapidly. Some cells cannot correspond to any observations in the data; in other words, "missing cells" are included in table and have a value of 0.

The read-only property UnbalancedTable returns a TableUnbalanced object. The frequency of each cell is entered in the unbalanced table so that the first variable cycles through its values exactly once and the last variable cycles through its values most rapidly. table is returned by UnbalancedTable property. All cells have a frequency of at least 1, i.e., there is no "missing cell." The array listCells, returned by method GetListCells can be considered "parallel" to table because row i of listCells is the set of nkeys values that describes the cell for which row i of tablecontains the corresponding frequency.

See Also