Nonparametric tests for model selection with time series data