Stocks closed higher as investors appeared more enthused about Microsoft's bid for Yahoo! than they were concerned about the latest signs of economic weakness. The three major indexes each gained about 3-4 percent for the week, but the market still has a way to go to recover from January's rout.