A Random Coefficient Approach to the Predictability of Stock Returns in Panels