An econometric study of cotton production and trade before 1860