NEW YORK: US stocks recovered from early losses to close slightly higher on Thursday, with the S&P 500 bouncing from a two-week low as a global bond selloff reversed course after sending US Treasury yields to multi-decade highs.

Stocks were under pressure in early trading as economic data kept pointing to a solid economy with persistent price pressures that stoked fears that inflation could ultimately force the Federal Reserveto become more aggressive with rate hikes.

The Labor Department said weekly initial jobless claims dipped to 197,000, below the 200,000 forecast of economists polled by Reuters. It was the latest in a string of reports this week that indicated the labor market was on solid footing, ahead of the government payrolls report on Friday.