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: 4.1.4
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 entries 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(IReadOnlyListDouble)
Adds an entry to the sample.
Public methodAdd(Double)
Adds an entry to the sample.
Public methodCentralMoment(IReadOnlyListInt32)
Computes the given sample central moment.
Public methodCentralMoment(Int32)
Computes the given sample central moment.
Public methodClear
Removes all entries from the sample.
Public methodColumn
Gets the indicated column as a univariate Sample.
Public methodColumns(IReadOnlyListInt32)
Gets the indicated columns as a multivariate sample.
Public methodColumns(Int32)
Gets the indicated columns as a multivariate sample.
Public methodContains(IReadOnlyListDouble)
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 the default hash function.
(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 methodMeansClustering
Compute k-means clusters of the data.
Public methodPrincipalComponentAnalysis
Performs a principal component analysis of the data.
Public methodRawMoment(IReadOnlyListInt32)
Computes the given sample raw moment.
Public methodRawMoment(Int32)
Computes the given sample raw moment.
Public methodRemove(IReadOnlyListDouble)
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