In an unusual divergence, corporate earnings improved in 2011 even as stock valuations became cheaper, setting up the possibility that valuations can rise if markets become more confident in the macroeconomic environment.