Skip to content

Type Alias: TotalStats ​

ts
type TotalStats = object;

Defined in: src/stats.ts:48

The totals of one spec: seen against what the odds promise.

Properties ​

notation ​

ts
notation: string;

Defined in: src/stats.ts:50

The spec, as notation.


rolls ​

ts
rolls: number;

Defined in: src/stats.ts:52

How many rolls of this spec the history holds.


average ​

ts
average: number;

Defined in: src/stats.ts:54

The mean of their totals; 0 with no rolls.


expected ​

ts
expected: number;

Defined in: src/stats.ts:56

The mean the odds promise.


highest ​

ts
highest: number;

Defined in: src/stats.ts:58

The highest total rolled; 0 with no rolls.


lowest ​

ts
lowest: number;

Defined in: src/stats.ts:60

The lowest total rolled; 0 with no rolls.


min ​

ts
min: number;

Defined in: src/stats.ts:62

The lowest total the dice can make.


seen ​

ts
seen: number[];

Defined in: src/stats.ts:64

seen[i] and expected[i] are for a total of min + i.


expectedShare ​

ts
expectedShare: number[];

Defined in: src/stats.ts:65

MIT © John Morris