The stock market was mixed today, responding sluggishly to government statistics boding well for the economy in the months ahead.

The Dow Jones average of 30 industrial stocks recorded a 2.99 gain to 957.53, reducing its loss for the week to 4.90 points.

But declining issues outnumbered gainers by about an 8-7 margin on the New York Stock Exchange.

Volume came in at 22.70 million shares on the Big Board, down from 24.36 million Thursday.

Nationwide turnover in NYSE-listed issues, including trades in those stocks on regional exchanges and in the over-the-counter market, came to 26.03 million shares.

The Dow has lost ground in all four weeks since the start of the year, for a net decline of more than 47 points.

With only one session left in the month, that performance was sure to give pause to those analysts who believe that the January market very often sets the trend for the full year.

Standard & Poor's index of 400 industrial stocks was up .36 at 113.14. and S&P's 500-stock composite index gained .14 to 101.93.

Although the broad market steadied, a few glamor stocks remained under pressure. Merck was down 2 1/8 at 57 as of the NYSE close, and National Semiconductor lost 1 1/8 to 22 1/2.

Texas Instruments was down 3/4 at 85. The Wall Street Journal reported on an influential analyst's negative view of the stock's prospects.

Heublein 'lost 1 to 29 1/8. The stock has been under pressure since the company disclosed a fourth quarter earnings decline earlier this month.