Empirical analysis of markets with free and restricted entry