The effects of the housing contraction and of the financial headwinds on spending and economic activity have been compounded by rapid increases in the prices of energy and other commodities, which have sapped household purchasing power even as they have boosted inflation.