This class implements the SQL Standard VAR_SAMP() aggregator, computing the variance over a sample. It uses the IBM formula described here:
[ sum(xi2) - sum(xi)2/n ]/(n-1) where n is the number of items in the population x1 ... xn are the items in the population
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Double |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides org. | |
| VarSAggregator | back to summary |
|---|---|
| public VarSAggregator() | |
| computeVar | back to summary |
|---|---|
| protected Double computeVar() Overrides org.
| |