Estimating nodal attractions with exogenous spatial interaction and impedance data using the gravity model