Least Squares Predictions and Mean-Variance Analysis