Expert reviewed β’08 January 2025β’ 6 minute read
calculate and interpret Pearsonβs correlation coefficient (π) using technology to quantify the
strength of a linear association of a sample
model a linear relationship by fitting an appropriate line of best fit to a scatterplot and using it to describe and quantify associations
fit a line of best fit to the data by eye and using technology
fit a least-squares regression line to the data using technology
interpret the intercept and gradient of the fitted line
Note:
Video coming soon!
In the previous module, we discussed calculating correlation and regression using a calculator. Although using a calculator is a significantly more efficient method, we must also know how to calculate correlation and regression using their given formula. This chapter will discuss how to do this in detail.
The Formula for Correlation
The formula to calculate the correlation (Pearsons Correlation Coefficient) of a dataset is as follows:
As discussed in the previous chapter, the formula for the line of regression (line of best fit) is y=mx+c. The slope m and intercept c can be calculated using the following formulas:
m=β(xβx)2β(xβx)(yβyβ)β
and
c=yββmx
where,
m is the slope of the regression line
c is the intercept of the regression line
x and y are scores of two different variables
x is the average of all x values
yβ is the average of all y values
Why we use a Calculator for Calculating Correlation and Regression?
Although it is important to know the formulas listed above, in the HSC course they are inefficient and less accurate at determining results compared to a calculator. Thus, in exams, it is heavily advised to use a calculator to find correlation and regression, as discussed in the previous chapter.