@mark1russell7/stack-endurance 0.8.33 → 0.8.35

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 CHANGED
@@ -156,12 +156,13 @@ Two groups of cuts that share no minimal set are independent, so the independent
156
156
  - Each run of the bootstrap draws the curve of each cut (`survivalBootstrap` of rigor-statistics). Then it makes the event curve of the stop again (`stopRebuild`) and reads the change.
157
157
  - `interval` is for `change.event`. `interval.runs` gives the count of runs. The option `runs` sets it, and the default is `SENSITIVITY_RUNS`, 1000.
158
158
  - The seed is the hash of the case, the need and the input. Thus the same query gives the same interval.
159
- - At a kink of the event curve, as for two cuts with equal curves, the coverage of the interval is near 89%, not 95%.
159
+ - Since 0.8.34, the interval is the bias-corrected percentile interval (option `biasCorrected` of rigor-statistics). It moves the two ends by the share of the runs below the change.
160
+ - At a kink of the event curve, as for two cuts with equal curves, the coverage is still less than 95%. The correction makes the gap smaller: 277 of 300 intervals, not 266, in the tests of rigor-statistics.
160
161
  - `chance.intervals` gives the 95% interval of the change of each curve of the stop: `event`, `independent` and `upper` (`CurveIntervals`). Since 0.8.32 (M2-interval-independent-upper).
161
162
  - `intervals.event` is equal to `interval`.
162
163
  - With one cut, the three changes are equal, so the three intervals are the interval of the delta method.
163
164
  - With two or more cuts, one bootstrap gives the three intervals (`survivalBootstrapMany` of rigor-statistics). Each run makes the three curves of the stop again (`StopRebuild.curvesWith`) from the same drawn curves.
164
- - The draws are the draws of 0.8.31, so the event interval does not change.
165
+ - The draws are the draws of 0.8.31. Since 0.8.34, each of the three intervals is bias-corrected.
165
166
  - The upper curve has a kink where the sum of the chances of the cuts reaches 1. There, its coverage can be less than 95%.
166
167
 
167
168
  An example on the sample:
package/build/index.d.ts CHANGED
@@ -909,8 +909,9 @@ export interface Sensitivity {
909
909
  * - With two or more cuts, the interval comes from a parametric bootstrap of the curves of the cuts (`survivalBootstrap` of rigor-statistics).
910
910
  * Each run draws each curve, makes the event curve of the stop from the drawn curves, and reads the change. The draws of the cuts are independent.
911
911
  * - `intervals` gives the interval of the change of each of the three curves. One bootstrap gives the three, from the same runs (since 0.8.32).
912
- * - The bootstrap is correct only for large samples. At a kink of a curve, its coverage is less than 95%.
913
- * An example is two cuts with equal curves under a maximum: the coverage of a percentile interval is near 0.89 there.
912
+ * - The bootstrap is correct only for large samples. Its interval is bias-corrected (since 0.8.34, M2-interval-kink).
913
+ * At a kink of a curve, for example two cuts with equal curves under a maximum, its coverage is still less than 95%.
914
+ * In the tests of rigor-statistics, such a maximum is in 277 of 300 intervals, and in 266 with no correction.
914
915
  * - The seed of the bootstrap is the hash of the case, the need and the input. The same query gives the same interval.
915
916
  *
916
917
  * The cost is one `enduranceOf` and one `caseOutlook` for each input, and one `stopRebuild` for each draw of the base.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":["CutBound"],"sources":["../src/converter.ts","../src/supply.ts","../src/calendar.ts","../src/endurance.ts","../src/joint.ts","../src/best.ts","../src/shortfall.ts","../src/check.ts","../src/join.ts","../src/sample.ts","../src/sensitivity.ts","../src/buy.ts"],"mappings":";;;;;;wBAegB,SAAS,WAAW;;wBAwBpB,SAAS,WAAW;;wBAKpB,aAAa,WAAW;;wBAKxB,cAAc,YAAY,SAAS,aAAa;;wBAOhD,QAAQ,QAAQ,wCAAwC,aAAa;;wBCnDrE,WAAW,MAAM,MAAM,UAAU;;UAKhC;WACN;WACA;WACA;WACA;;;UAIM;;WAEN,OAAO;WACP,UAAU;;WAEV,eAAe;;WAEf;;WAEA,OAAO;;;wBCZF,QAAQ,OAAO,SAAS;;;;;wBASxB,WAAW,OAAO,SAAS;;iBCX1B;;WAEN,IAAI;;WAEJ,QAAQ;;WAER;;;;;;WAMA,QAAQ;;;;;;WAMR;;;qBAIE;;;;;wBAMG,YAAY,UAAU,UAAU,SAAS,KAAK,iCAAiC;;;;;;;wBAqB/E,aAAa,OAAO,gBAAgB,IAAI,SAAS,eAAc,sBAAkC;;;;;wBAejG,UA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ACN;WACA,MAAM;WACN;WACA;;WAEA,SAAS,SAAS;WAClB,QAAQ;;;iBAIF;WACN;WACA,IAAI;;WAEJ;;WAEA,iBAAiB;;WAEjB,mBAAmB;;WAEnB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAgDK,cAAc,aAAa,aAAa,QAAQ,YAAY,SAAS,uBAAuB"}
1
+ {"version":3,"file":"index.d.ts","names":["CutBound"],"sources":["../src/converter.ts","../src/supply.ts","../src/calendar.ts","../src/endurance.ts","../src/joint.ts","../src/best.ts","../src/shortfall.ts","../src/check.ts","../src/join.ts","../src/sample.ts","../src/sensitivity.ts","../src/buy.ts"],"mappings":";;;;;;wBAegB,SAAS,WAAW;;wBAwBpB,SAAS,WAAW;;wBAKpB,aAAa,WAAW;;wBAKxB,cAAc,YAAY,SAAS,aAAa;;wBAOhD,QAAQ,QAAQ,wCAAwC,aAAa;;wBCnDrE,WAAW,MAAM,MAAM,UAAU;;UAKhC;WACN;WACA;WACA;WACA;;;UAIM;;WAEN,OAAO;WACP,UAAU;;WAEV,eAAe;;WAEf;;WAEA,OAAO;;;wBCZF,QAAQ,OAAO,SAAS;;;;;wBASxB,WAAW,OAAO,SAAS;;iBCX1B;;WAEN,IAAI;;WAEJ,QAAQ;;WAER;;;;;;WAMA,QAAQ;;;;;;WAMR;;;qBAIE;;;;;wBAMG,YAAY,UAAU,UAAU,SAAS,KAAK,iCAAiC;;;;;;;wBAqB/E,aAAa,OAAO,gBAAgB,IAAI,SAAS,eAAc,sBAAkC;;;;;wBAejG,UAAU,OAAO,gBAAgB,UAAU,UAAU,cAAc,sBAAsB;;;;;;;;wBAyMzF,QAAQ,QAAQ,KAAK,wBAAwB,OAAO,SAAS;;;;;wBAqG7D,aAAa,OAAO,gBAAgB,cAAc,qBAAqB,SAAS,cAAc;;;;;;wBAkB9F,UAAU,OAAO,gBAAgB,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA8C/C,YAAY,OAAO,gB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458
3458
  * - Each run draws the curve of each used cut with `survivalDraw` of rigor-statistics, at the points of its curve.
3459
3459
  * - The run makes the three curves of the stop from the drawn curves, with the same minimal sets (`StopRebuild.curvesWith`).
3460
3460
  * - It reads the chance of each curve before and after the step as `caseOutlook` reads `lasts`. The three statistics are the changes.
3461
- * - The intervals are the percentile intervals of `survivalBootstrapMany`, clamped as the interval of one cut.
3462
- * The draws are those of `survivalBootstrap` with the same seed. Thus the event interval is the event interval of 0.8.31.
3461
+ * - The intervals are the bias-corrected percentile intervals of `survivalBootstrapMany` (option `biasCorrected`, since 0.8.34).
3462
+ * Each is clamped as the interval of one cut. The draws are those of `survivalBootstrap` with the same seed.
3463
3463
  * - When the days do not change in the horizon, the change is 0 in each run. Then each interval is 0 to 0 with no runs.
3464
3464
  * - The seed is the hash of the case, the need and the input. Thus the same query gives the same intervals.
3465
3465
  */
@@ -3490,7 +3490,8 @@ function cutsChangeIntervals(cuts, before, after, horizon, runs, seed) {
3490
3490
  const clamp = clampOf(before, after, horizon);
3491
3491
  const [event, independent, upper] = survivalBootstrapMany(cuts.reads, statistics, {
3492
3492
  runs,
3493
- seed
3493
+ seed,
3494
+ biasCorrected: true
3494
3495
  }).map(({ low, high }) => ({
3495
3496
  se: (high - low) / (2 * Z95),
3496
3497
  low: clamp(low),
@@ -3539,8 +3540,9 @@ function rankOrder$1(levels) {
3539
3540
  * - With two or more cuts, the interval comes from a parametric bootstrap of the curves of the cuts (`survivalBootstrap` of rigor-statistics).
3540
3541
  * Each run draws each curve, makes the event curve of the stop from the drawn curves, and reads the change. The draws of the cuts are independent.
3541
3542
  * - `intervals` gives the interval of the change of each of the three curves. One bootstrap gives the three, from the same runs (since 0.8.32).
3542
- * - The bootstrap is correct only for large samples. At a kink of a curve, its coverage is less than 95%.
3543
- * An example is two cuts with equal curves under a maximum: the coverage of a percentile interval is near 0.89 there.
3543
+ * - The bootstrap is correct only for large samples. Its interval is bias-corrected (since 0.8.34, M2-interval-kink).
3544
+ * At a kink of a curve, for example two cuts with equal curves under a maximum, its coverage is still less than 95%.
3545
+ * In the tests of rigor-statistics, such a maximum is in 277 of 300 intervals, and in 266 with no correction.
3544
3546
  * - The seed of the bootstrap is the hash of the case, the need and the input. The same query gives the same interval.
3545
3547
  *
3546
3548
  * The cost is one `enduranceOf` and one `caseOutlook` for each input, and one `stopRebuild` for each draw of the base.