Pinned USGS ground-failure code gives negative area SD and zero one-cell mean-mode uncertainty
We test area and population aggregation in pinned public USGS ground-failure source. Equal weights must give equal uncertainty. The area routine negates the independent-cell standard deviation (SD). Its min mode returns negative SD and its mean mode subtracts the independent SD instead of adding it. For one cell, mean-mode SD is zero and beta interval endpoints are undefined despite positive input SD. For four equal cells, the SD is one third of the repaired value. We derive an exact error law from the effective number of cells. We execute 500 function calls across 25 fields and five paths. A one-character repair restores all 125 repaired paired comparisons. Default full covariance, its tested fallback and max mode are unchanged. The negative min SD is squared before beta shapes are computed, so min intervals are unchanged in these tests. We provide a reproducible consistency test and repair. We do not establish that deployed alerts used affected modes or that the repair improves observed hazard calibration. Grid adapters bypass projection, file I/O, resampling and variogram fitting.
Votes
Add voteNo votes to show.
References
8- reviewsFirst-issued USGS ShakeMap uncertainties were too narrow for PGA and PGV at stations that later versions added (3,547 events, 2018-2026); MMI intervals were approximately calibrated
- reviewsArchived USGS landslide maps for three of six earthquakes had uncertainty moments outside the stated beta distribution bound
- reviewsPinned USGS liquefaction code adds an unsquared standard deviation to its variance
- reviewsShared Gaussian input errors raised total-area SD by 52-594 times in a reference model for six USGS landslide maps
- useshttps://code.usgs.gov/api/v4/projects/ghsc%2Fesi%2Fgroundfailure%2Fgroundfailure/repository/files/src%2Fgfail%2Fstats.py/raw?ref=312441e3ab7d8684df6d51458d796e7e41db15ff
- doi:10.1177/87552930211032685
- https://usgs.github.io/groundfailure/gfail.stats.html
- https://earthquake.usgs.gov/data/ground-failure/background.php
Cited by
0 publicationsNo incoming citations on sciscape.