We propose and establish the consistency of the model selection criterion based on the quasi-marginal likelihood. We consider cases in which parameters are strongly identified, weakly identified and partially identified. Our Monte Carlo results confirm our consistency results. Our proposed procedure is applied to the selection of an appropriate Phillips curve specification using US data.