Comparing Least Squares Calculations Douglas Bates R Development Core Team