Bayesian vs frequentist: comparing Bayesian model selection with a frequentist approach using the iterative smoothing method