Skip to topic
    ← Back to course topics

    Correlation and linear regression — Edexcel A-Level Statistics

    Correlation and linear regression explained

    Correlation and linear regression covers 4 specification points, including Calculate (only using appropriate technology ‒… and Know the appropriate conditions for the use of….

    Read the full explanation

    Open a point below for its explanation and revision guidance.

    Calculate (only using appropriate technology ‒ calculator) and interpret association using Spearman’s rank correlation coefficient or Pearson’s product moment correlation coefficient.

    This criterion requires computing a correlation coefficient using a calculator, then interpreting the association. For Pearson’s r, enter paired bivariate data into the calculator’s statistics mode and read r directly. For Spearman’s rs, rank each variable and use the calculator’s rank correlation function. Always state which coefficient you used and why: Pearson measures the strength of linear association between numerical variables; Spearman measures monotonic association and is more robust to outliers or non-linear trends. Interpret the sign as the direction of association and the magnitude as strength, in context. For example, r = −0.85 indicates a strong negative linear association between the two variables.

    Know the appropriate conditions for the use of each of these methods of calculating correlation and determine an appropriate approach to assessing correlation in context.

    Correlation measures the strength and direction of a linear association between two quantitative variables. You must know when each method is valid. Pearson's product moment correlation coefficient r requires both variables to be continuous, an approximately linear relationship, and no serious outliers; it is sensitive to extreme values. Spearman's rank correlation coefficient rs is used when data are ordinal, when the relationship is monotonic but not linear, or when outliers make r unreliable. For each context, check the type of data, the shape of the scatter diagram and the presence of outliers, then select the method whose conditions are met. For example, if a scatter diagram of two continuous variables is roughly linear with no outliers, Pearson's r is appropriate; if the relationship is curved but consistently increasing, Spearman's rs is appropriate.

    Calculate (only using appropriate technology ‒ calculator) and interpret the coefficients for a least squares regression line in context; interpolation and extrapolation, and use of residuals to evaluate the model and identify outliers.

    For a least squares regression line y = a + bx, you calculate the coefficients a and b using appropriate technology such as a calculator, then interpret them in context. The intercept a is the predicted value of y when x is zero, and the gradient b is the predicted change in y for each one-unit increase in x. Interpolation predicts y for an x value within the observed data range and is generally reliable. Extrapolation predicts y for an x value outside the observed range and is unreliable because the linear relationship may not continue. A residual is the difference between an observed y value and the predicted y value from the line. Plotting residuals against x helps evaluate whether the linear model is appropriate; a random scatter supports the model, while a pattern suggests the model is unsuitable. Large residuals identify outliers that may need investigation.

    Use tables to test for significance of a correlation coefficient.

    This criterion requires you to carry out a hypothesis test for a correlation coefficient using critical values from tables. First state the null hypothesis that the population correlation coefficient is zero and the alternative that it is not zero, or one-sided if the context requires. Choose a significance level, usually 0.05 unless told otherwise. Find the critical value from the appropriate table using the sample size n and the chosen significance level, taking care whether the test is one-tailed or two-tailed. Compare the absolute value of your calculated correlation coefficient with the critical value. If the absolute value exceeds the critical value, reject the null hypothesis and conclude there is significant evidence of a non-zero correlation in the population; otherwise do not reject it.

    Your focus

    1. Calculate Pearson’s product moment correlation coefficient or Spearman’s rank correlation coefficient using a calculator.
    2. Distinguish when each coefficient is appropriate for a given set of bivariate data.
    3. Interpret a calculated correlation coefficient in terms of direction, strength and the real-world context.
    Show all 12 objectives
    1. State the conditions under which Pearson's r and Spearman's rs are each appropriate.
    2. Select an appropriate correlation method for a given context and justify the choice.
    3. Interpret a correlation coefficient in terms of the strength and direction of association between the named variables.
    4. Calculate the coefficients of a least squares regression line using appropriate technology.
    5. Interpret the intercept and gradient of a regression line in the context of the variables.
    6. Use residuals to evaluate the suitability of a linear model and identify possible outliers.
    7. Formulate null and alternative hypotheses for a test of zero correlation.
    8. Read the correct critical value from tables using the sample size and significance level.
    9. Compare a calculated correlation coefficient with a critical value and interpret the result in context.

    Correlation and linear regression exam tips

    Marking Points
    • Selects Pearson’s product moment correlation coefficient when the data are numerical and a linear relationship is appropriate, or Spearman’s rank correlation coefficient when ranks or monotonic association are more suitable.
    • Enters the paired data correctly into the calculator and obtains the coefficient using the appropriate built-in function, without manual arithmetic errors.
    • States the calculated value with suitable precision, for example r = 0.87 or rs = −0.64, and identifies which coefficient it is.
    • Interprets the sign as the direction of association and the magnitude as the strength of association in the context of the variables.
    • Recognises that a coefficient near zero means little or no linear or monotonic association, not proof that the variables are unrelated.
    • Uses only a calculator or equivalent appropriate technology, as required by the criterion, rather than relying on unaided long calculation.
    • Pearson's r requires continuous quantitative data, an approximately linear relationship and no serious outliers.
    • Spearman's rs is appropriate for ordinal data, monotonic non-linear relationships or when outliers make Pearson's r unreliable.
    • The choice of method must be justified by the data type, the shape of the scatter diagram and the presence of outliers.
    • Assessing correlation in context means interpreting the strength and direction of the association in terms of the variables being studied, not just quoting a coefficient.
    • The coefficients a and b of the least squares regression line y = a + bx are calculated using appropriate technology such as a calculator.
    • The intercept a is interpreted as the predicted value of y when x is zero, and the gradient b as the predicted change in y for each unit increase in x, both in context.
    • Interpolation uses an x value within the observed data range and is generally reliable; extrapolation uses an x value outside that range and is unreliable.
    • A residual is the difference between an observed y value and the predicted y value, and plotting residuals against x evaluates whether the linear model is appropriate.
    • Large residuals identify outliers, which are data points that do not fit the fitted model well.
    • States the null hypothesis that the population correlation coefficient is zero and the alternative hypothesis that it is not zero, or the appropriate one-sided alternative.
    • Selects an appropriate significance level and identifies whether the test is one-tailed or two-tailed.
    • Uses the correct table and reads the critical value using the sample size and significance level.
    • Compares the absolute value of the calculated correlation coefficient with the critical value correctly.
    • Draws a conclusion about the null hypothesis and states it in the context of the variables, including direction where appropriate.
    Exam tips
    • 💡Write down the coefficient with its symbol and enough decimal places to show the strength, then add a one-sentence contextual interpretation covering direction and strength.
    • 💡If the question asks you to choose, justify your choice of Pearson or Spearman in terms of the data type, linearity or the presence of outliers.
    • 💡Use your calculator’s statistics mode efficiently, but show the value you obtained clearly so the interpretation can be credited.
    • 💡Check the sign carefully: a negative coefficient means one variable tends to decrease as the other increases, not that the association is weak.
    • 💡Sketch or describe the scatter diagram before choosing a method, so your justification is grounded in the data.
    • 💡State the conditions for the chosen method explicitly, then show how the context satisfies them.
    • 💡When interpreting a coefficient, refer to the variables in context and comment on both strength and direction.
    • 💡Write the regression equation with the calculated coefficients before interpreting them, so your context statements are clearly linked to the numbers.
    • 💡When predicting, state whether the x value is inside or outside the observed range and comment on the reliability accordingly.
    • 💡When evaluating the model, describe the pattern of the residual plot rather than listing individual residuals.
    • 💡Write out H₀ and H₁ clearly before calculating or comparing anything.
    • 💡Quote the critical value you used and the calculated coefficient so the comparison is transparent.
    • 💡Finish with a full-sentence conclusion that mentions the context and whether the evidence supports a non-zero correlation.
    • 💡If the question gives a significance level, use it; if not, state that you are using 0.05 and proceed.
    Common Mistakes
    • Confusing Pearson’s r with Spearman’s rs and reporting the wrong symbol or value; correction: decide from the data type and relationship shape which coefficient is appropriate, then label the result clearly.
    • Interpreting a correlation coefficient as a percentage or as proof of causation; correction: describe direction and strength only, and note that association does not establish cause.
    • Treating a value near zero as evidence that no relationship of any kind exists; correction: say there is little or no linear or monotonic association, while other non-linear relationships may still be present.
    • Entering paired data in the wrong order or mixing up the explanatory and response variables; correction: keep each pair together and check the calculator display before recording the coefficient.
    • Assuming Pearson's r can always be used regardless of the shape of the relationship; the correction is that a clearly curved relationship calls for Spearman's rs or another approach.
    • Treating Spearman's rs as suitable only for ordinal data; the correction is that it is also valid for continuous data when the relationship is monotonic but not linear or when outliers are present.
    • Reporting a correlation coefficient without checking the scatter diagram first; the correction is that the scatter diagram reveals non-linearity and outliers that determine whether the chosen method is valid.
    • Interpreting the gradient as the value of y when x is zero; the correction is that the gradient is the predicted change in y for each unit increase in x, while the intercept is the predicted value of y when x is zero.
    • Using the regression line to predict far outside the observed range without comment; the correction is that extrapolation is unreliable and should be flagged as such.
    • Treating any large residual as an error to be deleted; the correction is that a large residual identifies a possible outlier that should be investigated in context.
    • Using the wrong degrees of freedom or sample size when reading the table; correction: check whether the table requires n or n − 2 and use the value stated in the table’s guidance.
    • Forgetting to take the absolute value of a negative correlation coefficient before comparing with the critical value; correction: compare the magnitude with the critical value and keep the sign for the contextual conclusion.
    • Confusing one-tailed and two-tailed critical values; correction: decide from the wording of the alternative hypothesis and use the matching column or row.
    • Writing a conclusion that only says ‘reject H₀’ without context; correction: state what this means for the variables, for example that there is significant evidence of a positive association between them.