15.40 Calculating the least-squares line. Like to know the details when you study something? Here is the formula for the least-squares regression line for predicting from . Start with the means and and the standard deviations and of the two variables and the correlation between them. The least-squares line has equation with
Example 4 in Chapter 14 (page 324) gives the means, standard deviations, and correlation for the fossil bone length data. Use these values in the formulas just given to verify the equation of the least-squares line given on page 343:
The remaining exercises require a two-variable statistics calculator or software that will calculate the least-squares regression line from data.