Statistics for Computer Algebra and Line Search