Investment Strategy and Selection Bias: An Equilibrium Perspective on Overoptimism