Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IStatistics

Represents various statistics of a set of numbers.

Hierarchy

  • IStatistics

Implemented by

Index

Properties

Methods

Properties

average

average: number

The arithmetic average of the incorporated items.

count

count: number

The number of incorporated items.

max

max: number

The largest of the incorporated items.

min

min: number

The smallest of the incorporated items.

sum

sum: number

The arithmetic sum of the incorporated items.

variance

variance: number

The variance of the incorporated items. This is the uncorrected (not sampled) variance.

Methods

toJSON

  • toJSON(): object
  • Returns object

    Object with all statistics.

    • average: number
    • count: number
    • max: number
    • min: number
    • sum: number
    • variance: number

Generated using TypeDoc