Hypothesis testing and comparison