Inflation has made basic goods hard to afford and attitudes toward inequality have changed, studies from the Pew Research Center showed.