The numerical delta method, bootstrap, model selection, and parameter inference