One way to calculate the regression line is to use the five summary statistics , , , , and r (i.e. the mean and SD of X, the mean and SD of Y, and the Pearson correlation between X and Y.) The least squares regression line is represented by the equation. PREDICTED Y = a + b X. where the slope b and intercept a are calculated in the following order: