MultivariateSample Class 
Namespace: Meta.Numerics.Statistics
The MultivariateSample type exposes the following members.
Name  Description  

MultivariateSample(Int32) 
Initializes a new multivariate sample.
 
MultivariateSample(String) 
Initializes a new multivariate sample with the given variable names.

Name  Description  

Count 
Gets the number of entries in the sample.
 
Dimension 
Gets the dimension of the sample.
 
IsReadOnly 
Gets a value indicating whether the multivariate sample can be modified.

Name  Description  

Add(IReadOnlyListDouble) 
Adds an entry to the sample.
 
Add(Double) 
Adds an entry to the sample.
 
CentralMoment(IReadOnlyListInt32) 
Computes the given sample central moment.
 
CentralMoment(Int32) 
Computes the given sample central moment.
 
Clear 
Removes all entries from the sample.
 
Column 
Gets the indicated column as a univariate Sample.
 
Columns(IReadOnlyListInt32) 
Gets the indicated columns as a multivariate sample.
 
Columns(Int32) 
Gets the indicated columns as a multivariate sample.
 
Contains(IReadOnlyListDouble) 
Determines whether the sample contains a given entry.
 
Contains(Double) 
Determines whether the sample contains a given entry.
 
Copy 
Copies the multivariate sample.
 
Equals  Determines whether the specified object is equal to the current object. (Inherited from Object.)  
GetEnumerator 
Gets an enumerator over the sample entries.
 
GetHashCode  Serves as the default hash function. (Inherited from Object.)  
GetType  Gets the Type of the current instance. (Inherited from Object.)  
LinearRegression 
Performs a linear regression analysis.
 
LogisticLinearRegression 
Performs a linear logistic regression analysis.
 
MeansClustering 
Compute kmeans clusters of the data.
 
PrincipalComponentAnalysis 
Performs a principal component analysis of the data.
 
RawMoment(IReadOnlyListInt32) 
Computes the given sample raw moment.
 
RawMoment(Int32) 
Computes the given sample raw moment.
 
Remove(IReadOnlyListDouble) 
Removes an entry from the sample.
 
Remove(Double) 
Removes an entry from the sample.
 
ToString  Returns a string that represents the current object. (Inherited from Object.)  
TwoColumns 
Gets the indicated columns as a BivariateSample.

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.