“…To develop the test, we leverage the selective inference framework, which has been applied extensively in high-dimensional linear modeling (Lee et al, 2016;Tibshirani et al, 2016;Fithian et al, 2014;Rügamer et al, 2022;Schultheiss et al, 2021;Taylor & Tibshirani, 2018;Charkhi & Claeskens, 2018;Yang et al, 2016;Loftus & Taylor, 2014), changepoint detection (Jewell et al, 2022;Hyun et al, 2021Hyun et al, , 2018Chen et al, 2021b;Le Duy & Takeuchi, 2021;Duy et al, 2020;Benjamini et al, 2019), and clustering (Zhang et al, 2019;Gao et al, 2020;Watanabe & Suzuki, 2021). The key insight behind selective inference is as follows: to obtain a valid test of H 0 , we need to condition on the aspect of the data that led us to test it.…”