Prediction and Regulation by Linear Least‐Squares Methods