Three essays on foreign exchange rates