Hypothesis testing and model selection