The consumer price index hit 6.2% in October. Treasury chief Yellen says the price hikes won’t last, but they’re felt across the economy.