After sorting p-values for speed, what must be restored before attaching discoveries to feature names?
StatisticsLevel: IntermediateMultiplicity and experimental power
After sorting p-values for speed, what must be restored before attaching discoveries to feature names?
Hints
- Sorting changes identity order.
- Carry an inverse permutation.
Answer
Restore original indices for corrected values and rejection decisions. A correct numeric correction attached to the wrong feature is still a serious inference error.
Source and licence: statsmodels — multiple hypothesis testing · BSD-3-Clause · answer: Quantoros editorial