Linear regression in astronomy.