Least Squares Calculation

Correlation Coefficient

Another measure of the quality of fit is the correlation coefficient, r2. To calculate the correlation coefficient, square the total of the (x-)(y-) column, and divide by the total of the (x-)2 and the total of the (y-)2 column. The formula is:

r2 equals 1 if the data all lie exactly along a straight line, and r2 equals 0 if the data are not correlated. Values between 1 and 0 indicate that the data have some linear relationship, but also have some scatter. Data with an r2 of above .8 are considered strongly correlated.

Get online OSHA safety and compliance training for your clinical laboratory employees.

Linear Regression Analysis course details »

Learn more about laboratory continuing education for ASCP, AMT, NCA, and state renewal and recertification requirements »

Get information on OSHA laboratory safety courses for clinical and medical laboratories »