When do trade networks matter in aggregate?: Essays in international trade