General statistics for Annotation Pro helper
More...
|
static double | EuclideanDistance (double[] x, double[] y) |
| Estimates the Squared Euclidian distance between two tuples. x and y must have the same length. More...
|
|
static void | LinearRegression (double[] xVals, double[] yVals, out double rsquared, out double yintercept, out double slope) |
| Fits a line to a collection of (x,y) points. More...
|
|
static double | Mean (List< double > values) |
| Mean from vector of double values More...
|
|
static double | nPVI (double[] values) |
| Normalized Pairwise Variability Index More...
|
|
static double | rPVI (double[] values) |
| Raw Pairwise Variability Index More...
|
|
static double | Sum (List< double > values) |
| Sum from vector of double values More...
|
|
General statistics for Annotation Pro helper
◆ GeneralStatistics()
◆ EuclideanDistance()
static double EuclideanDistance |
( |
double [] |
x, |
|
|
double [] |
y |
|
) |
| |
|
inlinestatic |
Estimates the Squared Euclidian distance between two tuples. x and y must have the same length.
◆ LinearRegression() [1/2]
static void LinearRegression |
( |
double [] |
xVals, |
|
|
double [] |
yVals, |
|
|
out double |
rsquared, |
|
|
out double |
yintercept, |
|
|
out double |
slope |
|
) |
| |
|
inlinestatic |
Fits a line to a collection of (x,y) points.
- Parameters
-
xVals | The x-axis values. |
yVals | The y-axis values. |
rsquared | The r^2 value of the line. |
yintercept | The y-intercept value of the line (i.e. y = ax + b, yintercept is b). |
slope | The slop of the line (i.e. y = ax + b, slope is a). |
◆ LinearRegression() [2/2]
Linear regression calculates a and b in y = ax + b
- Parameters
-
values | List of (x,y) values |
- Returns
- (x,y) value, where x - slope, y - intercept
◆ Mean()
static double Mean |
( |
List< double > |
values | ) |
|
|
inlinestatic |
Mean from vector of double values
- Parameters
-
values | List of double values |
- Returns
- Mean
◆ nPVI()
static double nPVI |
( |
double [] |
values | ) |
|
|
inlinestatic |
Normalized Pairwise Variability Index
- Parameters
-
values | Array of double input values |
- Returns
- nPVI
◆ rPVI()
static double rPVI |
( |
double [] |
values | ) |
|
|
inlinestatic |
Raw Pairwise Variability Index
- Parameters
-
values | Array of double input values |
- Returns
- rPVI value
◆ Sum()
static double Sum |
( |
List< double > |
values | ) |
|
|
inlinestatic |
Sum from vector of double values
- Parameters
-
values | List of double values |
- Returns
- Sum
The documentation for this class was generated from the following file:
- AnnotationPro.Statistics/GeneralStatistics.cs