Method Summary |
|
public void | add(double d) Add the specified number. |
public static double | fitSlope(Statistics x, Statistics y) Compute the least squares fit. |
public double | get(int idx) Get the specified number.
Parameters: idx - The index. |
public double | mean() Calculate the mean. |
public double | median() Calculate the median. |
public void | reset() Reset this statistics collector. |
public static double | round(double d) Round the specified number to two digits after the decimal point.
Parameters: d - The number. |
public int | size() Get the size of this collection. |
public double | stdev() Calculate the standard deviation. |
public double | sum() Calculate the sum. |