@mark1russell7/rigor-statistics 0.1.17 → 0.1.18
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 +1 -0
- package/build/index.d.ts +22 -1
- package/build/index.d.ts.map +1 -1
- package/build/index.js +37 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -111,6 +111,7 @@ The default expansion has one product for each pair of levels of two dimensions.
|
|
|
111
111
|
| `bootstrapMedian`, `bootstrapClusters` | The interval of the median, and a bootstrap that draws whole clusters (boards, seeds, sites). |
|
|
112
112
|
| `bootstrapTwo(a, b, statistic, options)` | A bootstrap interval of a statistic of two independent samples, for example two arms of a benchmark. Each run draws all of `a`, then all of `b`. |
|
|
113
113
|
| `bootstrapMedianRatio(numerator, denominator, options)` | The interval of `median(numerator) / median(denominator)`. It is the uncertainty of the ratio, not the spread of the samples. |
|
|
114
|
+
| `sampleTotalInterval(values, { population, scale })` | The interval of the total of a population from a uniform sample of `m` of its `n` items without replacement. The deviations get the finite population correction `sqrt(1 - m / n)`. `scale` is `n / m` by default. When `m` is `n`, the interval is the estimate. For a small `m`, the interval is too narrow: at `m = 8` of `n = 40`, the coverage is 0.865. |
|
|
114
115
|
| `leastSquares(x, y, { intercept })` | The ordinary least-squares fit of `y` on the rows of `x`, with a QR decomposition. It gives the coefficients, `residualSd`, `r2`, `n` and `k`. A singular design gives NaN coefficients. |
|
|
115
116
|
| `bootstrapLeastSquares(x, y, options)` | One bootstrap interval for each coefficient of `leastSquares`, from the same draws of whole rows. A singular draw does not count. |
|
|
116
117
|
| `ridgeSolve(gram, moment, lambda, { free })` | The ridge coefficients from the normal equations `X'X` and `X'y`, with a Cholesky factorization. The `free` coefficients have no penalty. A matrix that is not positive definite gives NaN coefficients. |
|
package/build/index.d.ts
CHANGED
|
@@ -154,6 +154,27 @@ export declare function bootstrapMedian(values: readonly number[], options?: Boo
|
|
|
154
154
|
* are in the order of their first row.
|
|
155
155
|
*/
|
|
156
156
|
export declare function bootstrapClusters<T>(rows: readonly T[], cluster: (row: T) => string, statistic: (rows: readonly T[]) => number, options?: BootstrapOptions): Interval;
|
|
157
|
+
interface SampleTotalOptions extends BootstrapOptions {
|
|
158
|
+
/** The number of items in the whole population, `n`. It is a whole number, and it is not less than the sample. */
|
|
159
|
+
readonly population: number;
|
|
160
|
+
/** The factor from the sum of the sample to the total of the population. The default is `population / values.length`. */
|
|
161
|
+
readonly scale?: number;
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* A bootstrap interval of the total of a population from a uniform sample of `m` of its `n` items, drawn without
|
|
165
|
+
* replacement. The estimate is `scale * sum(values)`. Each run draws `m` values with replacement, as `bootstrap`
|
|
166
|
+
* does. The deviation of each run from the sum of the sample gets the factor `scale * sqrt(1 - m / n)`, the finite
|
|
167
|
+
* population correction. When `m` is `n`, the interval is the estimate.
|
|
168
|
+
*
|
|
169
|
+
* The sample has 2 values or more, and each value is finite. With the same seed, the result is equal to the
|
|
170
|
+
* `bootstrap` of the same statistic, to the bit.
|
|
171
|
+
*
|
|
172
|
+
* The interval is narrow for a small sample. The draws give the variance of the sample with the divisor `m`, not
|
|
173
|
+
* `m - 1`, so the width gets the factor `sqrt((m - 1) / m)`. The skew of the values adds to the miss. In the tests,
|
|
174
|
+
* 400 samples of `m = 8` of `n = 40` hold the total 346 times (Wilson 0.828 to 0.895). At `m = 100` of `n = 200`,
|
|
175
|
+
* the coverage agrees with 95%.
|
|
176
|
+
*/
|
|
177
|
+
export declare function sampleTotalInterval(values: readonly number[], options: SampleTotalOptions): Interval;
|
|
157
178
|
/** The smooth laws that `smoothLawScores` compares. Each law has 2 fitted numbers. */
|
|
158
179
|
type SmoothLaw = "uniform" | "normal" | "exponential" | "log-normal" | "pareto";
|
|
159
180
|
/** The value of one law at its fit. */
|
|
@@ -1069,5 +1090,5 @@ interface OptionFloorOptions {
|
|
|
1069
1090
|
* @returns A whole number of 2 or more.
|
|
1070
1091
|
*/
|
|
1071
1092
|
export declare function optionFloor(options: OptionFloorOptions): number;
|
|
1072
|
-
export type { BootstrapOptions, CalibrationLevel, CategoricalDimension, CompareOptions, Comparison, ContinuousDimension, Corrected, CountInterval, Effect, Forecast, Interval, Kappa, LeastSquaresFit, LeastSquaresOptions, MedianInterval, ModeOptions, NoiseOptions, NoiseState, NoiseVerdict, OptionFloorOptions, OrdinalDimension, ParsedResponseRecord, PermutationOptions, PermutationResult, Proportion, QuantileInterval, QuantileMethod, 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, SideP, SmoothLaw, SmoothLawScore, Summary, TableResponseModel, TwoSamplePermutationOptions, TwoSamplePermutationResult };
|
|
1093
|
+
export type { BootstrapOptions, CalibrationLevel, CategoricalDimension, CompareOptions, Comparison, ContinuousDimension, Corrected, CountInterval, Effect, Forecast, Interval, Kappa, LeastSquaresFit, LeastSquaresOptions, MedianInterval, ModeOptions, NoiseOptions, NoiseState, NoiseVerdict, OptionFloorOptions, OrdinalDimension, ParsedResponseRecord, PermutationOptions, PermutationResult, Proportion, QuantileInterval, QuantileMethod, 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, SmoothLaw, SmoothLawScore, Summary, TableResponseModel, TwoSamplePermutationOptions, TwoSamplePermutationResult };
|
|
1073
1094
|
//# 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/tests.ts","../src/agreement.ts","../src/rank.ts","../src/discrete.ts","../src/compare.ts","../src/power.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;;;;;;UC3GrC;;WAEN;;UAGM;;WAEN;;WAEA;;;;;WAKA;;WAEA;;WAEA;;;;;;;;;;;wBAkBK,aAAa,mCAAmC,sBAAsB,UAAS,sBAA2B;
|
|
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/tests.ts","../src/agreement.ts","../src/rank.ts","../src/discrete.ts","../src/compare.ts","../src/power.ts"],"mappings":";;;;;;KAOY;;wB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A;;WAEA;WACA,OAAO;;;;;;;;wBASF,aAAa,2BAA2B,UAAS;WAA0B;IAAqC;UAW/G;;WAEN;;WAEA;;WAEA;;;UAIM;WACN;WACA;;WAEA;;WAEA;;UAGM;;WAEN;WACA;;WAEA;;WAEA;;WAEA;;WAEA,QAAQ;;WAER;;WAEA;;WAEA;WACA,cAAc;;WAEd;WACA,cAAc;;;;;;;;wBAST,cAAc,2BAA2B,UAAS,iBAAsB;;UA6CvE;WACN;WACA;;;wBASK,MAAM,oBAAoB;;UAQzB;WACN;WACA;WACA;;WAEA;;WAEA,UAAU;;;wBAIL,YAAY,oBAAoB,aAAa;;;;;;;wBChJ7C,UAAU,WAAW;;UAgBpB;;WAEN;;WAEA;;WAEA;;WAEA;;WAEA;;;;;;;;;;;;;;;;wBAiBK,YAAY,SAAS"}
|
package/build/index.js
CHANGED
|
@@ -201,6 +201,8 @@ function fitRows(x, y, intercept, k) {
|
|
|
201
201
|
* With the same seed, the draws are equal to the draws of the copies in highways, packing and layout-contract.
|
|
202
202
|
* `bootstrapTwo` draws two independent samples in each run: first the items of `a`, then the items of `b`.
|
|
203
203
|
* `bootstrapLeastSquares` draws whole rows, and gives one interval for each coefficient from the same draws.
|
|
204
|
+
*
|
|
205
|
+
* `sampleTotalInterval` gives the interval of a population total from a sample without replacement.
|
|
204
206
|
*/
|
|
205
207
|
/**
|
|
206
208
|
* A percentile bootstrap interval of `statistic` over `data`. A run whose statistic is not finite (NaN or an
|
|
@@ -385,6 +387,40 @@ function bootstrapClusters(rows, cluster, statistic, options = {}) {
|
|
|
385
387
|
estimate
|
|
386
388
|
};
|
|
387
389
|
}
|
|
390
|
+
/**
|
|
391
|
+
* A bootstrap interval of the total of a population from a uniform sample of `m` of its `n` items, drawn without
|
|
392
|
+
* replacement. The estimate is `scale * sum(values)`. Each run draws `m` values with replacement, as `bootstrap`
|
|
393
|
+
* does. The deviation of each run from the sum of the sample gets the factor `scale * sqrt(1 - m / n)`, the finite
|
|
394
|
+
* population correction. When `m` is `n`, the interval is the estimate.
|
|
395
|
+
*
|
|
396
|
+
* The sample has 2 values or more, and each value is finite. With the same seed, the result is equal to the
|
|
397
|
+
* `bootstrap` of the same statistic, to the bit.
|
|
398
|
+
*
|
|
399
|
+
* The interval is narrow for a small sample. The draws give the variance of the sample with the divisor `m`, not
|
|
400
|
+
* `m - 1`, so the width gets the factor `sqrt((m - 1) / m)`. The skew of the values adds to the miss. In the tests,
|
|
401
|
+
* 400 samples of `m = 8` of `n = 40` hold the total 346 times (Wilson 0.828 to 0.895). At `m = 100` of `n = 200`,
|
|
402
|
+
* the coverage agrees with 95%.
|
|
403
|
+
*/
|
|
404
|
+
function sampleTotalInterval(values, options) {
|
|
405
|
+
const name = "sampleTotalInterval";
|
|
406
|
+
const m = values.length;
|
|
407
|
+
const n = options.population;
|
|
408
|
+
if (m < 2) throw new RangeError(`${name}: the sample has 2 values or more, not ${m}.`);
|
|
409
|
+
if (!Number.isSafeInteger(n) || n < m) throw new RangeError(`${name}: population is a whole number of ${m} (the sample) or more, not ${n}.`);
|
|
410
|
+
for (const v of values) if (!Number.isFinite(v)) throw new RangeError(`${name}: each value is a finite number, not ${v}.`);
|
|
411
|
+
const scale = options.scale ?? n / m;
|
|
412
|
+
if (!(Number.isFinite(scale) && scale > 0)) throw new RangeError(`${name}: scale is a finite number more than 0, not ${scale}.`);
|
|
413
|
+
const all = sum(values);
|
|
414
|
+
const estimate = scale * all;
|
|
415
|
+
const spread = Math.sqrt(1 - m / n) * scale;
|
|
416
|
+
return bootstrap(values, (drawn) => estimate + spread * (sum(drawn) - all), options);
|
|
417
|
+
}
|
|
418
|
+
/** The sum of the values from the first to the last, as `values.reduce((s, t) => s + t, 0)`. */
|
|
419
|
+
function sum(values) {
|
|
420
|
+
let s = 0;
|
|
421
|
+
for (const v of values) s += v;
|
|
422
|
+
return s;
|
|
423
|
+
}
|
|
388
424
|
// src/distribution.ts
|
|
389
425
|
/**
|
|
390
426
|
* The shape of a sample: the count of its modes, and the smooth law with the highest likelihood. Use them to read the
|
|
@@ -2936,6 +2972,6 @@ function optionFloor(options) {
|
|
|
2936
2972
|
}
|
|
2937
2973
|
throw new RangeError(`optionFloor: no count under 10,000,000 for sigma ${sigma} and delta ${delta}.`);
|
|
2938
2974
|
}
|
|
2939
|
-
export { KENDALL_EXACT, RESPONSE_LAMBDAS, RESPONSE_MAX_POWER, RESPONSE_MAX_TERMS, RESPONSE_RECORDS_SCHEMA, Z95, bestSmoothLaw, binomialInterval, bootstrap, bootstrapClusters, bootstrapLeastSquares, bootstrapMedian, bootstrapMedianRatio, bootstrapTwo, brier, calibration, cohenKappa, compareRatios, fitResponse, heldOutError, heldOutErrorAt, holm, kendallTau, leastSquares, mean, median, medianInterval, modeCount, negativeBinomialInterval, noiseFloor, noiseVerdict, optionFloor, pairedPermutation, parseResponseRecord, partialConjunction, predictResponse, quantile, quantileInterval, quantileSamples, quantileSorted, ranks, responseCells, ridgeSolve, sd, signTest, signTestPower, sliceResponse, smoothLawScores, sorted, spearman, summarize, surfaceResponse, tQuantile, twoSamplePermutation, whenHolds, wilson, wilsonSampleSize };
|
|
2975
|
+
export { KENDALL_EXACT, RESPONSE_LAMBDAS, RESPONSE_MAX_POWER, RESPONSE_MAX_TERMS, RESPONSE_RECORDS_SCHEMA, Z95, bestSmoothLaw, binomialInterval, bootstrap, bootstrapClusters, bootstrapLeastSquares, bootstrapMedian, bootstrapMedianRatio, bootstrapTwo, brier, calibration, cohenKappa, compareRatios, fitResponse, heldOutError, heldOutErrorAt, holm, kendallTau, leastSquares, mean, median, medianInterval, modeCount, negativeBinomialInterval, noiseFloor, noiseVerdict, optionFloor, pairedPermutation, parseResponseRecord, partialConjunction, predictResponse, quantile, quantileInterval, quantileSamples, quantileSorted, ranks, responseCells, ridgeSolve, sampleTotalInterval, sd, signTest, signTestPower, sliceResponse, smoothLawScores, sorted, spearman, summarize, surfaceResponse, tQuantile, twoSamplePermutation, whenHolds, wilson, wilsonSampleSize };
|
|
2940
2976
|
|
|
2941
2977
|
//# sourceMappingURL=index.js.map
|