This dissertation consists of three chapters. The first chapter examines how the export intensity of Chinese firms is related to their productivity, and finds a negative correlation within exporting firms. This pattern remains robust even when controlling for ownership, trade mode, factor intensity, and export subsidies. Firms have to pay marketing costs in order to reach customers. If the elasticity of these costs, with respect to the number of consumers in the domestic market, is higher than in foreign markets, then more productive firms sell relatively more in the domestic market compared with low-productivity firms. Using the marketing cost framework, this chapter further estimates the elasticity of marketing costs in each market and th...