BivariateSample Class |
Namespace: Meta.Numerics.Statistics
The BivariateSample type exposes the following members.
Name | Description | |
---|---|---|
![]() | BivariateSample |
Initializes a new bivariate sample.
|
![]() | BivariateSample(String, String) |
Initializes a new bivariate sample with the given variable names.
|
Name | Description | |
---|---|---|
![]() | CorrelationCoefficient |
Gets the correlation coefficient between the two variables.
|
![]() | Count |
Gets the number of data points.
|
![]() | Covariance |
Gets the covariance of the two variables.
|
![]() | IsReadOnly |
Gets a value indicating whether the bivariate sample is read-only.
|
![]() | PopulationCovariance |
Estimates of the population covariance of two variables.
|
![]() | X |
Gets a read-only univariate sample consisting of the x-values of the data points.
|
![]() | Y |
Gets a read-only univariate sample consisting of the y-values of the data points.
|
Name | Description | |
---|---|---|
![]() | Add(XY) |
Adds a data point to the sample.
|
![]() | Add(IEnumerableXY) |
Adds multiple data points to the sample.
|
![]() | Add(IReadOnlyListDouble, IReadOnlyListDouble) |
Adds points from two lists to the sample.
|
![]() | Add(Double, Double) |
Adds a data point to the sample.
|
![]() | Clear |
Removes all data points from the sample.
|
![]() | Contains(XY) |
Determines whether the sample contains a given data point.
|
![]() | Contains(Double, Double) |
Determines whether the sample contains a given data point.
|
![]() | Copy |
Copies the bivariate sample.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetEnumerator |
Gets an enumerator of sample values.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | KendallTauTest |
Performs a Kendall concordance test for association.
|
![]() | LinearLogisticRegression |
Computes the best-fit linear logistic regression from the data.
|
![]() | LinearRegression |
Computes the best-fit linear regression from the data.
|
![]() | NonlinearRegression |
Finds the parameterized function that best fits the data.
|
![]() | PairedStudentTTest |
Performs a paired Student t-test.
|
![]() | PearsonRTest |
Performs a Pearson correlation test for association.
|
![]() | PolynomialRegression |
Computes the polynomial of given degree which best fits the data.
|
![]() | Remove(XY) |
Removes a data point from the sample.
|
![]() | Remove(Double, Double) |
Removes a data point from the sample.
|
![]() | SpearmanRhoTest |
Performs a Spearman rank-order test of association between the two variables.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | TransposeXY |
Swaps the X and Y variables in the bivariate sample.
|
![]() | WilcoxonSignedRankTest |
Performs a Wilcoxon signed rank test.
|
A bivariate sample consists of pairs of real numbers, where each pair is an independent measurement. For example, if you measure the height and weight of a sample of people, the data could be stored as a bivariate sample. The class can compute various descriptive statistics for the sample, perform appropriate statistical tests on the sample data, and fit the sample data to various models.