Stocks closed higher on Wall Street Friday, capping another good week of gains to the market, following a big dip in hiring last-minute concerns that the U.S. economy is slowing down too sharply.

Health care, energy and engineering firms accounted for a lot of the extensive rally, which extended the sequential run of gains of the S&P 500 to its day, the longest streak at a year and a half.

On Friday:

The S&P 500 rose 13.35 points, or 0.5 percent, to 2,892.74.

The Dow Jones Industrial Average gained 40.36 points, or 0.2 percent, to 26,424.99.

The Nasdaq composite climbed 46.91 points, or 0.6 percent, to 7,938.69.

The Russell 2000 index of smaller company stocks chosen up 15.06 points, approximately 1 percent, to 1,582.56.

For the week:

The S&P 500 gained 58.34 things, or 2.1%.

The Dow additional 496.31 points, or 1.9%.

The Nasdaq rose 209.37 points, or 2.7%.

The Russell 2000 picked up 42.82 points, or 2.8%.

For the year:

The S&P 500 is up 385.89 points, or 15.4 percent.

The Nasdaq is up 1,303.41 points, or 19.6 percent.

The Russell 2000 consists of 234 points, or 17.4 percent.