Surrogate modeling for uncertainty quantification in nonlinear dynamics