ESSAYS ON SOCIAL INTERACTIONS, COMPETITION AND MARKETS