Unit summary

  • Correlation measures the extent and direction of the relation between two variables, and does not prove causation.
  • A scatter diagram shows the pattern of the relation as positive, negative or none.
  • Karl Pearson's coefficient r lies between -1 and +1 and measures linear relation.
  • Spearman's rank correlation compares two rankings and uses the differences of ranks.
  • Tied values receive the average of their ranks.
  • Regression estimates one variable from the other by a fitted line.
  • The method of least squares minimises the sum of the squared residuals.
  • The normal equations give the intercept and slope of the line y = a + bx.
  • The regression coefficients byx and bxy have the same sign as r.
  • The product of the regression coefficients is r squared, the coefficient of determination.

Glossary

Term Meaning
Bivariate data Data in the form of pairs of values of two variables.
Coefficient of determination The square of r, the proportion of variation explained.
Correlation The extent and direction of the relation between two variables.
Covariance The mean of the products of the deviations of x and y from their means.
Dependent variable The variable that is estimated.
Independent variable The variable used to make the estimate.
Intercept The value of y when x is zero.
Karl Pearson's coefficient A measure of linear relation between two quantitative variables.
Least squares Method of fitting a line by minimising the sum of squared residuals.
Negative correlation The variables move in opposite directions.
Normal equations The equations solved to get the least squares line.
Positive correlation Both variables move in the same direction.
Rank The position of a value in an ordered list.
Regression Estimating the average value of one variable from another.
Regression coefficient The slope of a line of regression.
Residual The difference between an observed value and the value on the line.
Scatter diagram A graph of pairs of values plotted as points.
Slope The change in y for a unit change in x.
Spearman's coefficient A measure of the agreement between two rankings.
Tied ranks Equal values that receive the average of their ranks.

Question bank

Short Answer Questions (2 marks each)

  1. Define correlation.
  2. What is a scatter diagram?
  3. Name the types of correlation.
  4. State the range of the Karl Pearson coefficient.
  5. When is the rank correlation coefficient equal to +1?
  6. How are tied ranks handled?
  7. Define regression.
  8. What is a residual?
  9. State the relation between byx, bxy and r.
  10. What is the coefficient of determination?

Medium Answer Questions (5 marks each)

  1. Explain the types of correlation with scatter diagrams.
  2. State the properties of the Karl Pearson coefficient of correlation.
  3. Explain Spearman's rank correlation, including tied ranks.
  4. Explain the principle of least squares.
  5. Derive the normal equations for fitting y = a + bx.
  6. State the properties of the regression coefficients.

Long Answer Questions (15 marks each)

  1. Calculate the coefficient of correlation for the data (2, 50), (4, 55), (6, 65), (8, 70) and (10, 85), and interpret it.
  2. Explain Spearman's rank correlation. Six students are ranked by two judges as (1, 2), (2, 1), (3, 4), (4, 3), (5, 6) and (6, 5). Find the rank correlation coefficient.
  3. Fit a regression line of y on x by the method of least squares for the data in question 1, and estimate y for x = 7.
  4. Explain both lines of regression, the regression coefficients and their relation with the correlation coefficient. Distinguish between correlation and regression.

Sources

  • Official BCA syllabus Probability and Statistics, course code 26BCA403DS01, Unit II