Meta.Numerics Library
MultivariateSample Class
Meta.NumericsMeta.Numerics.StatisticsMultivariateSample
Represents a multivariate sample.
Declaration Syntax
C#Visual BasicVisual C++F#
public sealed class MultivariateSample : ICollection<double[]>, 
	IEnumerable<double[]>, IEnumerable
Public NotInheritable Class MultivariateSample _
	Implements ICollection(Of Double()), IEnumerable(Of Double()),  _
	IEnumerable
public ref class MultivariateSample sealed : ICollection<array<double>^>, 
	IEnumerable<array<double>^>, IEnumerable
[<SealedAttribute>]
type MultivariateSample =  
    class
        interface ICollection<float[]>
        interface IEnumerable<float[]>
        interface IEnumerable
    end
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
MultivariateSample(Int32)
Initializes a new multivariate sample.
MultivariateSample(array<String>[]()[][])
Initializes a new multivariate sample with the given variable names.
Add(array<Double>[]()[][])
Adds an entry to the sample.
Add(IList<(Of <<'(Double>)>>))
Adds an entry to the sample.
Clear()()()()
Removes all entries from the sample.
Column(Int32)
Gets the indicated column as a univariate Sample.
Columns(IList<(Of <<'(Int32>)>>))
Gets the indicated columns as a multivariate sample.
Columns(array<Int32>[]()[][])
Gets the indicated columns as a multivariate sample.
Contains(array<Double>[]()[][])
Determines whether the sample contains a given entry.
Contains(IList<(Of <<'(Double>)>>))
Determines whether the sample contains a given entry.
Copy()()()()
Copies the multivariate sample.
Count
Gets the number of enties in the sample.
Dimension
Gets the dimension of the sample.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetEnumerator()()()()
Gets an enumerator over the sample entries.
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
IsReadOnly
Gets a value indicating whether the multivariate sample can be modified.
LinearRegression(Int32)
Performs a linear regression analysis.
Load(IDataReader, IList<(Of <<'(Int32>)>>))
Loads values from a data reader.
Load(IDataReader, array<Int32>[]()[][])
Loads values from a data reader.
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Moment(array<Int32>[]()[][])
Computes the given sample raw moment.
Moment(IList<(Of <<'(Int32>)>>))
Computes the given sample raw moment.
MomentAboutMean(IList<(Of <<'(Int32>)>>))
Computes the given sample central moment.
MomentAboutMean(array<Int32>[]()[][])
Computes the given sample central moment.
PrincipalComponentAnalysis()()()()
Performs a principal component analysis of the data.
Remove(array<Double>[]()[][])
Removes an entry from the sample.
Remove(IList<(Of <<'(Double>)>>))
Removes an entry from the sample.
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
TwoColumns(Int32, Int32)
Gets the indicated columns as a BivariateSample.
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.

Inheritance Hierarchy
Object
MultivariateSample