Click or drag to resize

Correspondence Class

Represents the results of a correspondence analysis applied to a data table having positive marginal sums.
Inheritance Hierarchy
SystemObject
  Novacta.AnalyticsCorrespondence

Namespace:  Novacta.Analytics
Assembly:  Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.0.0
Syntax
public class Correspondence

The Correspondence type exposes the following members.

Constructors
  NameDescription
Public methodCorrespondence
Initializes a new instance of the Correspondence class
Top
Properties
  NameDescription
Public propertyColumnProfiles
Gets the principal projections of the column profiles.
Public propertyRowProfiles
Gets the principal projections of the row profiles.
Top
Methods
  NameDescription
Public methodStatic memberAnalyze
Analyzes the correspondence of the specified data.
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 methodGetHashCode
Serves as the default hash function.
(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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

A Correspondence usually examines the relationships existing between two categorical variables whose observations have been summarized in a contingency table, i.e. a table showing the joint frequency distribution of the variables, in which the rows are assigned to the categories of a first variable, and the columns to those of another one. However, the current implementation of Correspondence does not control that the analyzed data strictly represent counts: what is checked is only that the marginal data sums, i.e. the sums computed separately on each row and on each column, are all positive values.

Both rows and columns are represented as weighted points in a multidimensional space, forming what are referred to as the clouds of row or column profiles (See the Cloud documentation for a formal definition of the cloud concept). The aim of a correspondence analysis is to project such clouds in a space having a lower dimensionality, so that distances in such space relate to dissimilarities among the categories of the two variables. Check the PrincipalProjections documentation for a thorough explanation of the statistical methods underlying such projections.

Note Note
DIrections along which to project the points are added until the corresponding projected variance is greater than 1e-6.

Contingency tables

Let LaTeX equation be a LaTeX equation contingency table. The number of overall observations is

LaTeX equation

where LaTeX equation and LaTeX equation are column vectors having lengths LaTeX equation and LaTeX equation, respectively, so that the relative joint frequency distribution can be represented by the matrix

LaTeX equation

The relative marginal frequency distribution of the row variable is

LaTeX equation

and that of the column one is

LaTeX equation

Given vectors LaTeX equation and LaTeX equation, one can also define the following diagonal matrices:

LaTeX equation

and

LaTeX equation

Cloud of row profiles

Row profiles are LaTeX equation points in LaTeX equation, say LaTeX equation. The points, if measured w.r.t. the basis LaTeX equation, with

LaTeX equation

have coordinates

LaTeX equation

and weights

LaTeX equation

forming the cloud

LaTeX equation

Such cloud and its projections can be inspected via property RowProfiles.

Cloud of column profiles

Column profiles are LaTeX equation points in LaTeX equation, say LaTeX equation. Such points are measured w.r.t. the basis LaTeX equation, with

LaTeX equation

having coordinates

LaTeX equation

and weights

LaTeX equation

forming the cloud

LaTeX equation

Such cloud and its projections can be inspected via property ColumnProfiles.

See Also