Nonlinear methods in econometrics