Change-point bootstrap explained

How the confidence in a change-point is worked out: 12 results, shuffled 10 times, with every running total on the sheet. With a change, and without one.

Download the workbook (Excel, 31 KB)

Excel 2010 or later. No macros. Licence: CC BY 4.0, free to use and share with credit to Geoscience Analytics.

What it shows

Change-point analysis adds up each result’s difference from the mean, in the order the results came back. Its confidence comes from shuffling the same results and doing it again. This workbook lays that out on one sheet, with 12 made-up gold results and 10 shuffles, so you can follow every step.

With a change, the running total climbs while the results sit above the mean and falls once they drop below it, so it travels a long way. Shuffle the same results and the highs and lows are mixed, so the running total never gets far. The confidence is the share of shuffles whose running total has a smaller range than the original’s.

The 12 results in their own order (purple) reach 0.14 g/t after result 6. None of the 10 shuffles (grey) of the same results gets as far.

The sheets

  • With a change: 12 results, the first six about 1.26 g/t and the last six about 1.21 g/t. The running total’s range is 0.140. All 10 shuffles have a smaller range, so the confidence is 10 of 10, and the change is after result 6.
  • No change: the same 12 numbers in a random order. Now the original order is just one more shuffle. Only 1 shuffle of 10 has a smaller range, so the confidence is 10%. The numbers are the same as on the first sheet: only their order differs, and the order is what change-point analysis tests.
  • Shuffle it yourself: press F9 to shuffle the results again. The sheet says whether that shuffle’s range is smaller than the original’s. Over 1,000 presses, the share that are smaller is the confidence.

Using your own results

Type your own results over the blue ones on the first sheet. Everything else follows, including the shuffles and the chart.

Ten shuffles give the confidence in steps of 10%. QC Analytical Results makes 1,000, so its confidence is finer.

Learn more