A robust nonparametric method for quantifying undetected extinctions