Essay in empirical industrial organization and public finance