PSYC 2530 Chapter Notes - Chapter 16: Squared Deviations From The Mean, Lincoln Near-Earth Asteroid Research, Regression Analysis
Document Summary
16. 1 | introduction to linear equations and regression. In general, a linear relationship between two variables x and y can be expressed by the equation: y = bx + a. Where a and b are fixed constants. The value of b is called the slope. The slope determines how much of the y variable changes when x is increased by one point. The value of a is called the y-intercept. It determines the value of y when x = 0. Each individual line has its own unique values for b and a. Distance = y : the next step is to square each distance to obtain a uniformly positive measure of error. Finally, to determine the total error between the line and the data, we add the squared errors for all the data points. In symbols, total squared error = (y )2: now we can define the best-fitting line as the one that has the smallest total squared error.