MultivariateSampleTwoColumns Method |
Namespace: Meta.Numerics.Statistics
Use this method to obtain information specific to the two columns, such as the Covariance, or to perform tests specific to the two columns, such as a PearsonRTest.
Note that this is a fast, O(1) operation, which does not create independent copies of the columns. The advantage of this is that you can access pairs of columns as bivariate samples as often as you like without worrying about performance. The disadvantage of this is that the returned bivariate sample cannot be altered. If you need to alter values independent of the multi-variate sample, use the Copy method to obtain an independent copy of the bivariate sample.