Extinction and survival in human populations