Technological Rivalry and Optimal Dynamic Policy in an Open Economy - Bai, Yan. (National Bureau of Economic Research,)