@mark1russell7/rigor-statistics 0.1.23 → 0.1.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/build/index.d.ts +57 -1
- package/build/index.d.ts.map +1 -1
- package/build/index.js +227 -1
- package/build/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -160,6 +160,7 @@ logLoss([{ p: p.a, hit: true }]); // the probability of the obser
|
|
|
160
160
|
| Function | What it gives |
|
|
161
161
|
| --- | --- |
|
|
162
162
|
| `mean`, `sd`, `median`, `summarize` | The descriptive statistics. `sd` is the sample standard deviation. |
|
|
163
|
+
| `runningOf`, `addToRunning`, `mergeRunning`, `runningMean`, `runningSd` | A running summary of a stream: the count, the sum, the extremes and the spread, one value at a time. `mergeRunning` joins the summaries of two parts. `runningMean` gives exactly `mean` of the values. |
|
|
163
164
|
| `quantile(values, p, method)`, `quantileSorted` | The `p` quantile, with the `"linear"` method (type 7, the default), the `"nearest-rank"` method (type 1) or the `"higher"` method (`sorted[Math.ceil(p * (n - 1))]`, as NumPy). |
|
|
164
165
|
| `bootstrap(data, statistic, options)` | A percentile bootstrap interval of any statistic. The options are `runs`, `level` or `ends`, `seed`, `method` and `against`. |
|
|
165
166
|
| The option `against` | The interval also gives `pAbove` and `pBelow`, the bootstrap p of each side of the value, from the same draws. The smallest p is 1 / (`finite` + 1). Give `holm` enough runs: with m tests at level a, `runs` is more than m / a. |
|
|
@@ -190,6 +191,7 @@ logLoss([{ p: p.a, hit: true }]); // the probability of the obser
|
|
|
190
191
|
| `spearman`, `kendallTau`, `ranks` | The rank correlations, with mean ranks for ties. |
|
|
191
192
|
| `compareRatios`, `noiseFloor`, `noiseVerdict` | The comparison with a baseline, the noise floor of the 5-seed rule with a margin of practical effect, and the state of a difference over the seeds. |
|
|
192
193
|
| `optionFloor({ sigma, delta, tests, alpha, power })`, `tQuantile(p, df)` | The fewest values for each of two options, so that one test of a Bonferroni family finds a difference of `delta` with the stated power, from the Student t law. It assumes unpaired groups of equal size and equal `sigma`. The quantile of the Student t law. |
|
|
194
|
+
| `normalCdf(x)`, `normalQuantile(p)` | The distribution function of the standard normal law and its quantile (AS 241 of Wichura). Both keep their relative digits in the lower tail, to `p = 1e-300`. |
|
|
193
195
|
| `modeCount(values, { minShare, valleyRatio })` | The count of the modes of a sample, from a kernel density estimate. |
|
|
194
196
|
| `smoothLawScores(values)`, `bestSmoothLaw(values)` | The mean log density of the uniform, normal, exponential, log-normal and Pareto laws at their fits, and the best of them. |
|
|
195
197
|
| `brier`, `calibration` | The Brier score of predictions, and the hit rate of each stated level. |
|
|
@@ -291,12 +293,14 @@ The tests prove that these functions give the same numbers as the copies in the
|
|
|
291
293
|
| `bootstrap` of layout-contract | `bootstrapClusters(rows, (r) => r.cluster, statistic, { runs, seed, ends: [0.025, 0.975] })` |
|
|
292
294
|
| The stratified bootstrap of `verdict` of layout-contract | `bootstrapStrata(families, meanOfMeans, { runs, seed: deriveSeed(seed, "verdict.stratified"), ends })` |
|
|
293
295
|
| The permutation test of `verdict` of layout-contract | `signFlipTest(terms, { exactMax, runs, seed: deriveSeed(seed, "verdict.permutation") })` |
|
|
296
|
+
| `normalQuantile` of lag (Acklam, relative error below 1.2e-9) | `normalQuantile(p)`. The values change by 1.2e-9 or less, because the new function is more exact. A `p` out of 0 to 1 throws. |
|
|
294
297
|
| `signTestP` of packing | `signTest(better, worse)` |
|
|
295
298
|
| `signTestPower` of highways | `signTestPower(n, level)` |
|
|
296
299
|
| `wilson` of packing | `wilson(k, n, z)`. packing rounds the ends to 4 places at the call. |
|
|
297
300
|
| `spearman` of the highways backtest, `kendallTau` of highways | `spearman`, `kendallTau` |
|
|
298
301
|
| `medianInterval` of the harness and kind of systems | `medianInterval(sortedValues)`, with `low` and `high` |
|
|
299
302
|
| The binomial band of `targetConnections` and `negativeBinomial` of the cells of systems | `binomialInterval(n, p, cover)` and `negativeBinomialInterval(successes, p, cover)` |
|
|
303
|
+
| `summarizingNumber` of collections (`count`, `sum`, `min`, `max`, `average`) | `addToRunning` in the accumulator, then `n`, `sum`, `min`, `max` and `runningMean`. The average was `sum / count`, so the bits stay. |
|
|
300
304
|
|
|
301
305
|
A copy that gives NaN, 0 or `undefined` for an empty list must test the list at the call, because these functions throw.
|
|
302
306
|
|
package/build/index.d.ts
CHANGED
|
@@ -45,6 +45,48 @@ interface Summary {
|
|
|
45
45
|
readonly iqr: number;
|
|
46
46
|
}
|
|
47
47
|
export declare function summarize(values: readonly number[]): Summary;
|
|
48
|
+
/**
|
|
49
|
+
* The running summary: the count, the sum, the extremes and the spread of a stream of values, one value at a time.
|
|
50
|
+
* A collector, a reducer or a parallel job adds each value, or merges two summaries. The summary agrees with the
|
|
51
|
+
* functions of a list: `runningMean` gives exactly `mean` of the values, and `runningSd` gives `sd` to a tolerance.
|
|
52
|
+
*/
|
|
53
|
+
/**
|
|
54
|
+
* A running summary of the values that were added. The record is immutable, so a fold can keep each step. The empty
|
|
55
|
+
* summary is `EMPTY_RUNNING`.
|
|
56
|
+
*/
|
|
57
|
+
interface RunningSummary {
|
|
58
|
+
/** The count of the values. */
|
|
59
|
+
readonly n: number;
|
|
60
|
+
/** The sum of the values, added in their order. */
|
|
61
|
+
readonly sum: number;
|
|
62
|
+
/** The smallest value, or `Infinity` for no value. */
|
|
63
|
+
readonly min: number;
|
|
64
|
+
/** The largest value, or `-Infinity` for no value. */
|
|
65
|
+
readonly max: number;
|
|
66
|
+
/** The sum of the squares of the differences from the mean (Welford). `runningSd` reads it. */
|
|
67
|
+
readonly m2: number;
|
|
68
|
+
}
|
|
69
|
+
/** The summary of no value. It is the unit of `mergeRunning`. */
|
|
70
|
+
export declare const EMPTY_RUNNING: RunningSummary;
|
|
71
|
+
/**
|
|
72
|
+
* This function gives the summary with one more value. It throws a RangeError for NaN, as the functions of a list do.
|
|
73
|
+
* The mean of each step is `sum / n`, so the mean of the fold is the mean of the list.
|
|
74
|
+
*/
|
|
75
|
+
export declare function addToRunning(s: RunningSummary, value: number): RunningSummary;
|
|
76
|
+
/** This function gives the summary of the values of a list or another iterable, in their order. */
|
|
77
|
+
export declare function runningOf(values: Iterable<number>): RunningSummary;
|
|
78
|
+
/**
|
|
79
|
+
* This function gives the summary of the values of two summaries (Chan, Golub and LeVeque, 1979). Thus parallel jobs
|
|
80
|
+
* can each summarize a part. The sum of the merge adds the two sums, so it can differ from the fold in the last bits.
|
|
81
|
+
*/
|
|
82
|
+
export declare function mergeRunning(a: RunningSummary, b: RunningSummary): RunningSummary;
|
|
83
|
+
/** This function gives the mean of the values: `sum / n`. It throws a RangeError for the empty summary. */
|
|
84
|
+
export declare function runningMean(s: RunningSummary): number;
|
|
85
|
+
/**
|
|
86
|
+
* This function gives the sample standard deviation of the values (the divisor is n - 1). It needs 2 values or more.
|
|
87
|
+
* Equal values give exactly 0, as `sd` gives. A rounding error cannot make the result NaN.
|
|
88
|
+
*/
|
|
89
|
+
export declare function runningSd(s: RunningSummary): number;
|
|
48
90
|
/**
|
|
49
91
|
* Ordinary least squares with a Householder QR decomposition. The QR decomposition does not square the condition
|
|
50
92
|
* number of the design, as the normal equations do. A design without full rank gives NaN coefficients and does not
|
|
@@ -1236,6 +1278,20 @@ interface OptionFloorOptions {
|
|
|
1236
1278
|
* @returns A whole number of 2 or more.
|
|
1237
1279
|
*/
|
|
1238
1280
|
export declare function optionFloor(options: OptionFloorOptions): number;
|
|
1281
|
+
/**
|
|
1282
|
+
* This function gives the distribution function of the standard normal law, `P(Z <= x)`. Its relative error is below
|
|
1283
|
+
* 1e-14, also in the lower tail: `normalCdf(-37)` is approximately 5.7e-300, not 0.
|
|
1284
|
+
*
|
|
1285
|
+
* @param x - A number. `-Infinity` gives 0 and `Infinity` gives 1.
|
|
1286
|
+
*/
|
|
1287
|
+
export declare function normalCdf(x: number): number;
|
|
1288
|
+
/**
|
|
1289
|
+
* This function gives the quantile of the standard normal law, the `x` with `normalCdf(x) = p`. It uses PPND16 of
|
|
1290
|
+
* Wichura (algorithm AS 241). Its relative error is near 1e-16 for each `p` from 1e-300 to 1 - 1e-16.
|
|
1291
|
+
*
|
|
1292
|
+
* @param p - The share of the law below the result, from 0 to 1. A `p` of 0 gives `-Infinity` and 1 gives `Infinity`.
|
|
1293
|
+
*/
|
|
1294
|
+
export declare function normalQuantile(p: number): number;
|
|
1239
1295
|
/** One cell of a coverage study: the hits of a method on the true value in `draws` seeded samples of size `sample`. */
|
|
1240
1296
|
interface CoverageCell {
|
|
1241
1297
|
/** The name of the cell, for example `"skewed 120/108"`. The result names the rejected cells with it. */
|
|
@@ -1596,5 +1652,5 @@ interface BradleyTerryFit {
|
|
|
1596
1652
|
* outcome, a bad weight and a bad option.
|
|
1597
1653
|
*/
|
|
1598
1654
|
export declare function bradleyTerry(items: number, comparisons: readonly PairComparison[], options?: BradleyTerryOptions): BradleyTerryFit;
|
|
1599
|
-
export type { BinomialSide, BootstrapOptions, BradleyTerryFit, BradleyTerryOptions, CalibrationLevel, CategoricalDimension, CompareOptions, Comparison, ContinuousDimension, Corrected, CountInterval, CoverageBar, CoverageCell, CoverageMinSample, CoverageReason, CoverageStep, Effect, EloOptions, EloUpdate, Forecast, Glicko2Game, Glicko2Options, Glicko2Rating, Interval, Kappa, LeastSquaresFit, LeastSquaresOptions, MedianInterval, ModeOptions, NoiseOptions, NoiseState, NoiseVerdict, OptionFloorOptions, OrdinalDimension, PairComparison, PairOutcome, PairProbabilities, ParsedResponseRecord, PermutationOptions, PermutationResult, Proportion, QuantileInterval, QuantileMethod, RatingScale, ResponseAbsentPoint, ResponseBand, ResponseCurvePoint, ResponseData, ResponseDimension, ResponseDimensionBase, ResponseFactor, ResponseFault, ResponseFitOptions, ResponseFold, ResponseFoldError, ResponseHeldOutError, ResponseInputValue, ResponseMeasure, ResponseModel, ResponseModelBase, ResponsePoint, ResponseReason, ResponseRecord, ResponseSlice, ResponseSliceOptions, ResponseSlicePoint, ResponseSurface, ResponseSurfaceAbsentPoint, ResponseSurfaceOptions, ResponseSurfacePoint, ResponseTableCell, ResponseValue, ResponseViewOptions, ResponseWhen, RidgeInput, RidgeInputBase, RidgeLevelInput, RidgeNumberInput, RidgeOptions, RidgeRankInput, RidgeResponseModel, RidgeTerm, SampleTotalOptions, SideP, SignFlipOptions, SignFlipResult, SmoothLaw, SmoothLawScore, SobolIndex, SobolIndices, SobolOptions, Summary, TableResponseModel, TieModel, TwoSamplePermutationOptions, TwoSamplePermutationResult, UStatisticInterval, UStatisticMean, UStatisticMethod, UStatisticOptions };
|
|
1655
|
+
export type { BinomialSide, BootstrapOptions, BradleyTerryFit, BradleyTerryOptions, CalibrationLevel, CategoricalDimension, CompareOptions, Comparison, ContinuousDimension, Corrected, CountInterval, CoverageBar, CoverageCell, CoverageMinSample, CoverageReason, CoverageStep, Effect, EloOptions, EloUpdate, Forecast, Glicko2Game, Glicko2Options, Glicko2Rating, Interval, Kappa, LeastSquaresFit, LeastSquaresOptions, MedianInterval, ModeOptions, NoiseOptions, NoiseState, NoiseVerdict, OptionFloorOptions, OrdinalDimension, PairComparison, PairOutcome, PairProbabilities, ParsedResponseRecord, PermutationOptions, PermutationResult, Proportion, QuantileInterval, QuantileMethod, RatingScale, ResponseAbsentPoint, ResponseBand, ResponseCurvePoint, ResponseData, ResponseDimension, ResponseDimensionBase, ResponseFactor, ResponseFault, ResponseFitOptions, ResponseFold, ResponseFoldError, ResponseHeldOutError, ResponseInputValue, ResponseMeasure, ResponseModel, ResponseModelBase, ResponsePoint, ResponseReason, ResponseRecord, ResponseSlice, ResponseSliceOptions, ResponseSlicePoint, ResponseSurface, ResponseSurfaceAbsentPoint, ResponseSurfaceOptions, ResponseSurfacePoint, ResponseTableCell, ResponseValue, ResponseViewOptions, ResponseWhen, RidgeInput, RidgeInputBase, RidgeLevelInput, RidgeNumberInput, RidgeOptions, RidgeRankInput, RidgeResponseModel, RidgeTerm, RunningSummary, SampleTotalOptions, SideP, SignFlipOptions, SignFlipResult, SmoothLaw, SmoothLawScore, SobolIndex, SobolIndices, SobolOptions, Summary, TableResponseModel, TieModel, TwoSamplePermutationOptions, TwoSamplePermutationResult, UStatisticInterval, UStatisticMean, UStatisticMethod, UStatisticOptions };
|
|
1600
1656
|
//# sourceMappingURL=index.d.ts.map
|
package/build/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/describe.ts","../src/regression.ts","../src/bootstrap.ts","../src/distribution.ts","../src/ridge.ts","../src/response.ts","../src/response-parse.ts","../src/response-fit.ts","../src/response-sobol.ts","../src/tests.ts","../src/agreement.ts","../src/rank.ts","../src/discrete.ts","../src/compare.ts","../src/power.ts","../src/coverage.ts","../src/u-statistic.ts","../src/rating.ts","../src/bradley-terry.ts"],"mappings":";;;;;;;KAOY;;wBAmBI,OAAO;wBAIP,KAAK;;;;;wBAgBL,GAAG;;;;;;;wBAgBH,eAAe,iCAAiC,WAAW,SAAQ;;wBAkBnE,SAAS,2BAA2B,WAAW,SAAQ;;;;;wBASvD,OAAO;;UAQN;WACN;WACA;;WAEA;WACA;;WAEA;WACA;;WAEA;WACA;;WAEA;;wBAGK,UAAU,4BAA4B;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/describe.ts","../src/running.ts","../src/regression.ts","../src/bootstrap.ts","../src/distribution.ts","../src/ridge.ts","../src/response.ts","../src/response-parse.ts","../src/response-fit.ts","../src/response-sobol.ts","../src/tests.ts","../src/agreement.ts","../src/rank.ts","../src/discrete.ts","../src/compare.ts","../src/power.ts","../src/normal.ts","../src/coverage.ts","../src/u-statistic.ts","../src/rating.ts","../src/bradley-terry.ts"],"mappings":";;;;;;;KAOY;;wBAmBI,OAAO;wBAIP,KAAK;;;;;wBAgBL,GAAG;;;;;;;wBAgBH,eAAe,iCAAiC,WAAW,SAAQ;;wBAkBnE,SAAS,2BAA2B,WAAW,SAAQ;;;;;wBASvD,OAAO;;UAQN;WACN;WACA;;WAEA;WACA;;WAEA;WACA;;W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;;WAEA;;WAEA;;WAEA;;;;;;;wBA6CK,aAAa,eAAe,sBAAsB,kBAAkB,UAAS,sBAA2B"}
|
package/build/index.js
CHANGED
|
@@ -84,6 +84,76 @@ function summarize(values) {
|
|
|
84
84
|
iqr: q3 - q1
|
|
85
85
|
};
|
|
86
86
|
}
|
|
87
|
+
// src/running.ts
|
|
88
|
+
/** The summary of no value. It is the unit of `mergeRunning`. */
|
|
89
|
+
const EMPTY_RUNNING = Object.freeze({
|
|
90
|
+
n: 0,
|
|
91
|
+
sum: 0,
|
|
92
|
+
min: Infinity,
|
|
93
|
+
max: -Infinity,
|
|
94
|
+
m2: 0
|
|
95
|
+
});
|
|
96
|
+
/**
|
|
97
|
+
* This function gives the summary with one more value. It throws a RangeError for NaN, as the functions of a list do.
|
|
98
|
+
* The mean of each step is `sum / n`, so the mean of the fold is the mean of the list.
|
|
99
|
+
*/
|
|
100
|
+
function addToRunning(s, value) {
|
|
101
|
+
if (Number.isNaN(value)) throw new RangeError("addToRunning: the value is NaN.");
|
|
102
|
+
const sum = s.sum + value;
|
|
103
|
+
if (s.n === 0) return {
|
|
104
|
+
n: 1,
|
|
105
|
+
sum,
|
|
106
|
+
min: value,
|
|
107
|
+
max: value,
|
|
108
|
+
m2: 0
|
|
109
|
+
};
|
|
110
|
+
const n = s.n + 1;
|
|
111
|
+
const m2 = s.m2 + (value - s.sum / s.n) * (value - sum / n);
|
|
112
|
+
return {
|
|
113
|
+
n,
|
|
114
|
+
sum,
|
|
115
|
+
min: Math.min(s.min, value),
|
|
116
|
+
max: Math.max(s.max, value),
|
|
117
|
+
m2
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
/** This function gives the summary of the values of a list or another iterable, in their order. */
|
|
121
|
+
function runningOf(values) {
|
|
122
|
+
let s = EMPTY_RUNNING;
|
|
123
|
+
for (const v of values) s = addToRunning(s, v);
|
|
124
|
+
return s;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* This function gives the summary of the values of two summaries (Chan, Golub and LeVeque, 1979). Thus parallel jobs
|
|
128
|
+
* can each summarize a part. The sum of the merge adds the two sums, so it can differ from the fold in the last bits.
|
|
129
|
+
*/
|
|
130
|
+
function mergeRunning(a, b) {
|
|
131
|
+
if (a.n === 0) return b;
|
|
132
|
+
if (b.n === 0) return a;
|
|
133
|
+
const n = a.n + b.n;
|
|
134
|
+
const delta = b.sum / b.n - a.sum / a.n;
|
|
135
|
+
return {
|
|
136
|
+
n,
|
|
137
|
+
sum: a.sum + b.sum,
|
|
138
|
+
min: Math.min(a.min, b.min),
|
|
139
|
+
max: Math.max(a.max, b.max),
|
|
140
|
+
m2: a.m2 + b.m2 + delta * delta * a.n / n * b.n
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
/** This function gives the mean of the values: `sum / n`. It throws a RangeError for the empty summary. */
|
|
144
|
+
function runningMean(s) {
|
|
145
|
+
if (s.n === 0) throw new RangeError("runningMean: the summary is empty.");
|
|
146
|
+
return s.sum / s.n;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* This function gives the sample standard deviation of the values (the divisor is n - 1). It needs 2 values or more.
|
|
150
|
+
* Equal values give exactly 0, as `sd` gives. A rounding error cannot make the result NaN.
|
|
151
|
+
*/
|
|
152
|
+
function runningSd(s) {
|
|
153
|
+
if (s.n < 2) throw new RangeError("runningSd: the summary needs 2 values or more.");
|
|
154
|
+
if (s.min === s.max) return 0;
|
|
155
|
+
return Math.sqrt(Math.max(0, s.m2) / (s.n - 1));
|
|
156
|
+
}
|
|
87
157
|
// src/regression.ts
|
|
88
158
|
/**
|
|
89
159
|
* The relative tolerance of the rank test. A column is dependent when the part of it that is orthogonal to the
|
|
@@ -3251,6 +3321,162 @@ function optionFloor(options) {
|
|
|
3251
3321
|
}
|
|
3252
3322
|
throw new RangeError(`optionFloor: no count under 10,000,000 for sigma ${sigma} and delta ${delta}.`);
|
|
3253
3323
|
}
|
|
3324
|
+
// src/normal.ts
|
|
3325
|
+
/**
|
|
3326
|
+
* The standard normal law: its distribution function `normalCdf` and its quantile `normalQuantile`. The two functions
|
|
3327
|
+
* keep their relative digits in the far tails, so a small tail probability does not become 0.
|
|
3328
|
+
*/
|
|
3329
|
+
const SQRT_PI = Math.sqrt(Math.PI);
|
|
3330
|
+
/** The series of `erf(z)` with positive terms, `2/√π · e^(-z²) · Σ (2z²)^n · z / (1·3·…·(2n+1))`, for a small `z` of 0 or more. */
|
|
3331
|
+
function erfSeries(z) {
|
|
3332
|
+
const twoZ2 = 2 * z * z;
|
|
3333
|
+
let term = z;
|
|
3334
|
+
let sum = z;
|
|
3335
|
+
for (let n = 1; n < 500 && term > sum * 1e-17; n++) {
|
|
3336
|
+
term *= twoZ2 / (2 * n + 1);
|
|
3337
|
+
sum += term;
|
|
3338
|
+
}
|
|
3339
|
+
return 2 / SQRT_PI * expMinusSquare(z) * sum;
|
|
3340
|
+
}
|
|
3341
|
+
/**
|
|
3342
|
+
* The continued fraction of `erfc(z)`, `e^(-z²)/√π · 1/(z + (1/2)/(z + 1/(z + (3/2)/(z + …))))`, by the method of
|
|
3343
|
+
* Lentz, for a `z` of 1.5 or more.
|
|
3344
|
+
*/
|
|
3345
|
+
function erfcFraction(z) {
|
|
3346
|
+
const tiny = 1e-300;
|
|
3347
|
+
let f = z;
|
|
3348
|
+
let c = z;
|
|
3349
|
+
let d = 0;
|
|
3350
|
+
for (let n = 1; n < 5e3; n++) {
|
|
3351
|
+
const a = n / 2;
|
|
3352
|
+
d = z + a * d;
|
|
3353
|
+
d = 1 / (Math.abs(d) < tiny ? tiny : d);
|
|
3354
|
+
c = z + a / c;
|
|
3355
|
+
if (Math.abs(c) < tiny) c = tiny;
|
|
3356
|
+
const delta = c * d;
|
|
3357
|
+
f *= delta;
|
|
3358
|
+
if (Math.abs(delta - 1) < 1e-16) break;
|
|
3359
|
+
}
|
|
3360
|
+
return expMinusSquare(z) / (SQRT_PI * f);
|
|
3361
|
+
}
|
|
3362
|
+
/**
|
|
3363
|
+
* The value of `e^(-z²)` with its relative digits for a large `z`. The rounding of `z²` costs `z²` ulps, so the
|
|
3364
|
+
* function splits `z` into `hi + lo`. `hi` has 4 bits after the point, so `hi²` is exact.
|
|
3365
|
+
*/
|
|
3366
|
+
function expMinusSquare(z) {
|
|
3367
|
+
const hi = Math.round(z * 16) / 16;
|
|
3368
|
+
const lo = z - hi;
|
|
3369
|
+
return Math.exp(-hi * hi) * Math.exp(-lo * (z + hi));
|
|
3370
|
+
}
|
|
3371
|
+
/** The complementary error function `erfc(z) = 1 - erf(z)`, with its relative digits for a large `z`. */
|
|
3372
|
+
function erfc(z) {
|
|
3373
|
+
if (z < 0) return 2 - erfc(-z);
|
|
3374
|
+
return z < 1.5 ? 1 - erfSeries(z) : erfcFraction(z);
|
|
3375
|
+
}
|
|
3376
|
+
/**
|
|
3377
|
+
* This function gives the distribution function of the standard normal law, `P(Z <= x)`. Its relative error is below
|
|
3378
|
+
* 1e-14, also in the lower tail: `normalCdf(-37)` is approximately 5.7e-300, not 0.
|
|
3379
|
+
*
|
|
3380
|
+
* @param x - A number. `-Infinity` gives 0 and `Infinity` gives 1.
|
|
3381
|
+
*/
|
|
3382
|
+
function normalCdf(x) {
|
|
3383
|
+
if (Number.isNaN(x)) throw new RangeError("normalCdf: x is NaN.");
|
|
3384
|
+
if (x === Number.NEGATIVE_INFINITY) return 0;
|
|
3385
|
+
if (x === Number.POSITIVE_INFINITY) return 1;
|
|
3386
|
+
return erfc(-x / Math.SQRT2) / 2;
|
|
3387
|
+
}
|
|
3388
|
+
const A = [
|
|
3389
|
+
3.3871328727963665,
|
|
3390
|
+
133.14166789178438,
|
|
3391
|
+
1971.5909503065513,
|
|
3392
|
+
13731.69376550946,
|
|
3393
|
+
45921.95393154987,
|
|
3394
|
+
67265.7709270087,
|
|
3395
|
+
33430.57558358813,
|
|
3396
|
+
2509.0809287301227
|
|
3397
|
+
];
|
|
3398
|
+
const B = [
|
|
3399
|
+
1,
|
|
3400
|
+
42.31333070160091,
|
|
3401
|
+
687.1870074920579,
|
|
3402
|
+
5394.196021424751,
|
|
3403
|
+
21213.794301586597,
|
|
3404
|
+
39307.89580009271,
|
|
3405
|
+
28729.085735721943,
|
|
3406
|
+
5226.495278852854
|
|
3407
|
+
];
|
|
3408
|
+
const C = [
|
|
3409
|
+
1.4234371107496835,
|
|
3410
|
+
4.630337846156546,
|
|
3411
|
+
5.769497221460691,
|
|
3412
|
+
3.6478483247632045,
|
|
3413
|
+
1.2704582524523684,
|
|
3414
|
+
.2417807251774506,
|
|
3415
|
+
.022723844989269184,
|
|
3416
|
+
.0007745450142783414
|
|
3417
|
+
];
|
|
3418
|
+
const D = [
|
|
3419
|
+
1,
|
|
3420
|
+
2.053191626637759,
|
|
3421
|
+
1.6763848301838038,
|
|
3422
|
+
.6897673349851,
|
|
3423
|
+
.14810397642748008,
|
|
3424
|
+
.015198666563616457,
|
|
3425
|
+
.0005475938084995345,
|
|
3426
|
+
1.0507500716444169e-9
|
|
3427
|
+
];
|
|
3428
|
+
const E = [
|
|
3429
|
+
6.657904643501103,
|
|
3430
|
+
5.463784911164114,
|
|
3431
|
+
1.7848265399172913,
|
|
3432
|
+
.29656057182850487,
|
|
3433
|
+
.026532189526576124,
|
|
3434
|
+
.0012426609473880784,
|
|
3435
|
+
27115555687434876e-21,
|
|
3436
|
+
2.0103343992922881e-7
|
|
3437
|
+
];
|
|
3438
|
+
const F = [
|
|
3439
|
+
1,
|
|
3440
|
+
.599832206555888,
|
|
3441
|
+
.1369298809227358,
|
|
3442
|
+
.014875361290850615,
|
|
3443
|
+
.0007868691311456133,
|
|
3444
|
+
18463183175100548e-21,
|
|
3445
|
+
1.421511758316446e-7,
|
|
3446
|
+
20442631033899397e-31
|
|
3447
|
+
];
|
|
3448
|
+
/** The value of a polynomial with the coefficients `c[0] + c[1] x + …`, by the rule of Horner. */
|
|
3449
|
+
function poly(c, x) {
|
|
3450
|
+
let value = 0;
|
|
3451
|
+
for (let i = c.length - 1; i >= 0; i--) value = value * x + c[i];
|
|
3452
|
+
return value;
|
|
3453
|
+
}
|
|
3454
|
+
/**
|
|
3455
|
+
* This function gives the quantile of the standard normal law, the `x` with `normalCdf(x) = p`. It uses PPND16 of
|
|
3456
|
+
* Wichura (algorithm AS 241). Its relative error is near 1e-16 for each `p` from 1e-300 to 1 - 1e-16.
|
|
3457
|
+
*
|
|
3458
|
+
* @param p - The share of the law below the result, from 0 to 1. A `p` of 0 gives `-Infinity` and 1 gives `Infinity`.
|
|
3459
|
+
*/
|
|
3460
|
+
function normalQuantile(p) {
|
|
3461
|
+
if (!(p >= 0 && p <= 1)) throw new RangeError(`normalQuantile: p is from 0 to 1, not ${p}.`);
|
|
3462
|
+
if (p === 0) return Number.NEGATIVE_INFINITY;
|
|
3463
|
+
if (p === 1) return Number.POSITIVE_INFINITY;
|
|
3464
|
+
const q = p - .5;
|
|
3465
|
+
if (Math.abs(q) <= .425) {
|
|
3466
|
+
const r = .180625 - q * q;
|
|
3467
|
+
return q * poly(A, r) / poly(B, r);
|
|
3468
|
+
}
|
|
3469
|
+
let r = Math.sqrt(-Math.log(q < 0 ? p : 1 - p));
|
|
3470
|
+
let value;
|
|
3471
|
+
if (r <= 5) {
|
|
3472
|
+
r -= 1.6;
|
|
3473
|
+
value = poly(C, r) / poly(D, r);
|
|
3474
|
+
} else {
|
|
3475
|
+
r -= 5;
|
|
3476
|
+
value = poly(E, r) / poly(F, r);
|
|
3477
|
+
}
|
|
3478
|
+
return q < 0 ? -value : value;
|
|
3479
|
+
}
|
|
3254
3480
|
// src/coverage.ts
|
|
3255
3481
|
/**
|
|
3256
3482
|
* The rule that finds the smallest sample at which an interval method keeps its level. The input is the hits of the
|
|
@@ -3941,6 +4167,6 @@ function inverseDiagonal(hessian, k) {
|
|
|
3941
4167
|
}
|
|
3942
4168
|
return out;
|
|
3943
4169
|
}
|
|
3944
|
-
export { KENDALL_EXACT, RESPONSE_LAMBDAS, RESPONSE_MAX_POWER, RESPONSE_MAX_TERMS, RESPONSE_RECORDS_SCHEMA, SIGN_FLIP_EXACT_LIMIT, SIGN_FLIP_EXACT_MAX, U_STATISTIC_TIGHT_MIN_SAMPLE, Z95, bestSmoothLaw, binomialInterval, binomialTest, bootstrap, bootstrapClusters, bootstrapLeastSquares, bootstrapMedian, bootstrapMedianRatio, bootstrapStrata, bootstrapTwo, bradleyTerry, brier, calibration, cohenKappa, compareRatios, coverageMinSample, eloExpected, eloUpdate, fitResponse, glicko2Idle, glicko2Update, heldOutError, heldOutErrorAt, holm, kendallTau, leastSquares, logLoss, mean, median, medianInterval, modeCount, negativeBinomialInterval, noiseFloor, noiseVerdict, optionFloor, pairProbabilities, pairedPermutation, parseResponseRecord, partialConjunction, predictResponse, quantile, quantileInterval, quantileSamples, quantileSorted, ranks, ratingToStrength, responseCells, ridgeSolve, sampleTotalInterval, sd, signFlipTest, signTest, signTestPower, sliceResponse, smoothLawScores, sobolIndices, sorted, spearman, strengthToRating, summarize, surfaceResponse, tQuantile, twoSamplePermutation, uStatisticInterval, whenHolds, wilson, wilsonSampleSize };
|
|
4170
|
+
export { EMPTY_RUNNING, KENDALL_EXACT, RESPONSE_LAMBDAS, RESPONSE_MAX_POWER, RESPONSE_MAX_TERMS, RESPONSE_RECORDS_SCHEMA, SIGN_FLIP_EXACT_LIMIT, SIGN_FLIP_EXACT_MAX, U_STATISTIC_TIGHT_MIN_SAMPLE, Z95, addToRunning, bestSmoothLaw, binomialInterval, binomialTest, bootstrap, bootstrapClusters, bootstrapLeastSquares, bootstrapMedian, bootstrapMedianRatio, bootstrapStrata, bootstrapTwo, bradleyTerry, brier, calibration, cohenKappa, compareRatios, coverageMinSample, eloExpected, eloUpdate, fitResponse, glicko2Idle, glicko2Update, heldOutError, heldOutErrorAt, holm, kendallTau, leastSquares, logLoss, mean, median, medianInterval, mergeRunning, modeCount, negativeBinomialInterval, noiseFloor, noiseVerdict, normalCdf, normalQuantile, optionFloor, pairProbabilities, pairedPermutation, parseResponseRecord, partialConjunction, predictResponse, quantile, quantileInterval, quantileSamples, quantileSorted, ranks, ratingToStrength, responseCells, ridgeSolve, runningMean, runningOf, runningSd, sampleTotalInterval, sd, signFlipTest, signTest, signTestPower, sliceResponse, smoothLawScores, sobolIndices, sorted, spearman, strengthToRating, summarize, surfaceResponse, tQuantile, twoSamplePermutation, uStatisticInterval, whenHolds, wilson, wilsonSampleSize };
|
|
3945
4171
|
|
|
3946
4172
|
//# sourceMappingURL=index.js.map
|