Stock Valuation and Learning About Profitability