In a seminal paper, Helpman et al. (2008) demonstrate that accounting for self-selection and firm heterogeneity is crucial for obtaining unbiased estimates in the gravity equation. In this paper, we show how this insight helps solve the trade elasticity puzzle that, hitherto, trade elasticity...