Stocks retreated modestly Wednesday after comments from Federal Reserve Chair Janet Yellen implied that Fed policymakers are still considering raising interest rates in December. Yellen's comments pushed the U.S. dollar higher. The dollar's rise had a secondary impact of causing oil to fall, which in turn pushed oil, gas and energy stocks lower.

Stocks retreated modestly Wednesday after comments from Federal Reserve Chair Janet Yellen implied that Fed policymakers are still considering raising interest rates in December. Yellen's comments pushed the U.S. dollar higher. The dollar's rise had a secondary impact of causing oil to fall, which in turn pushed oil, gas and energy stocks lower.

For Wednesday:

The Dow Jones industrial average fell 50.57 points, or 0.3 percent, to 17,867.58.

The Standard & Poor's 500 index fell 7.48 points, or 0.4 percent, to 2,102.31.

The Nasdaq composite index was lost 2.65 points, or 0.1 percent, to 5,142.48.

For the week:

The Dow is up 204.04 points, or 1.2 percent.

The S&P 500 has risen 22.95 points, or 1.1 percent.

The Nasdaq is up 88.73 points, or 1.8 percent.

For the year:

The Dow is up 44.51 points, or 0.3 percent.

The S&P is up 43.41 points, or 2.1 percent.

The Nasdaq is up 406.42 points, or 8.6 percent.