Empirical Essays On Economic Globalization With Heterogeneous Producers