BootstrapBand
A resampling confidence band for the bars of one degree, after Fasy, Lecci, Rinaldo, Wasserman, Balakrishnan and Singh, "Confidence sets for persistence diagrams" (Annals of Statistics 42, 2014).
Compute the diagram of the points, then of many resamples of them, and measure how far (in bottleneck distance) each resample's diagram is from the original. The 1 - alpha quantile of those distances is the band's width: a resample moves the diagram by at most width in 1 - alpha of the draws. A bar that persists longer than 2 * width cannot be matched to the diagonal by a perturbation of that size, so it is a feature that survives the resampling; a bar shorter than that could be one of the noise. Band.threshold is 2 * width, and diagram.longerThan(band.threshold) keeps the bars beyond it.
This is a resampling heuristic with a statistical reading, not a proof: the guarantee of the paper is for specific estimators and sampling models. Resampling with replacement (Resampling.Bootstrap) follows the paper's recipe. Resampling.Subsample draws fewer points without replacement and is cheaper; its distances are not rescaled to the full sample, so its band is wider than the bootstrap's (the conservative direction). Essential bars are left out of the comparison, so the band says nothing about them.
Attributes
- Experimental
- true
- Source
- BootstrapBand.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
BootstrapBand.type