Click or drag to resize
MultivariateSample Class
Represents a multivariate sample.
Inheritance Hierarchy
SystemObject
  Meta.Numerics.StatisticsMultivariateSample

Namespace:  Meta.Numerics.Statistics
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 3.1.0.0 (3.1.0.0)
Syntax
public sealed class MultivariateSample : ICollection<double[]>, 
	IEnumerable<double[]>, IEnumerable

The MultivariateSample type exposes the following members.

Constructors
  NameDescription
Public methodMultivariateSample(Int32)
Initializes a new multivariate sample.
Public methodMultivariateSample(String)
Initializes a new multivariate sample with the given variable names.
Top
Properties
  NameDescription
Public propertyCount
Gets the number of enties in the sample.
Public propertyDimension
Gets the dimension of the sample.
Public propertyIsReadOnly
Gets a value indicating whether the multivariate sample can be modified.
Top
Methods
  NameDescription
Public methodAdd(IListDouble)
Adds an entry to the sample.
Public methodAdd(Double)
Adds an entry to the sample.
Public methodClear
Removes all entries from the sample.
Public methodColumn
Gets the indicated column as a univariate Sample.
Public methodColumns(IListInt32)
Gets the indicated columns as a multivariate sample.
Public methodColumns(Int32)
Gets the indicated columns as a multivariate sample.
Public methodContains(IListDouble)
Determines whether the sample contains a given entry.
Public methodContains(Double)
Determines whether the sample contains a given entry.
Public methodCopy
Copies the multivariate sample.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetEnumerator
Gets an enumerator over the sample entries.
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.)
Public methodLinearRegression
Performs a linear regression analysis.
Public methodLogisticLinearRegression
Performs a linear logistic regression analysis.
Public methodMoment(IListInt32)
Computes the given sample raw moment.
Public methodMoment(Int32)
Computes the given sample raw moment.
Public methodMomentAboutMean(IListInt32)
Computes the given sample central moment.
Public methodMomentAboutMean(Int32)
Computes the given sample central moment.
Public methodPrincipalComponentAnalysis
Performs a principal component analysis of the data.
Public methodRemove(IListDouble)
Removes an entry from the sample.
Public methodRemove(Double)
Removes an entry from the sample.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTwoColumns
Gets the indicated columns as a BivariateSample.
Top
Remarks

A multivariate sample is simply a sample in which more than one number is associated with each data point. A study which records only the height of each subject could use the Sample class to store its data, but a study which records the income and height of each subject should use MutlivariateSample class. In addition to descriptive statistics, this class offers tests for studying the associations between the recorded variables, and routines for fitting the sample to a model.

See Also