The dollar index was down slightly on Friday but registered a gain for the week as investors expected the U.S. Federal Reserve to remain aggressive when it hikes interest rates next week, while China’s yuan eased past the key threshold of 7 per dollar.