FRANKFURT-The German economy avoided recession by the skin of its teeth in the final quarter of last year, propped up by a pickup in government spending and booming construction.

The Federal Statistical Office on Friday confirmed its preliminary inflation estimate from Feb. 14, but provided additional details about the drivers of growth.