Matthew correlation coefficient and Pearson correlation coefficient are both used to measure the correlation between two variables. However, they have some differences in their assumptions and applications.
Matthew correlation coefficient is a measure of correlation that is based on the ordinal relationship between two variables. It is used when the relationship between the variables is not necessarily linear, but there is a clear ordering or ranking of the values. For example, if we have two variables, A and B, where A is the score on a math test and B is the rank of the student in a class, the Matthew correlation coefficient would be appropriate to use because the relationship between A and B is not linear, but there is a clear ordering of the values.
Pearson correlation coefficient, on the other hand, is a measure of correlation that is based on the linear relationship between two variables. It is used when the relationship between the variables is linear or can be approximated by a linear function. For example, if we have two variables, X and Y, where X is the height of a person and Y is their weight, the Pearson correlation coefficient would be appropriate to use because the relationship between X and Y is roughly linear.
In summary, Matthew correlation coefficient is used when the relationship between the variables is not linear but there is a clear ordering or ranking of the values, while Pearson correlation coefficient is used when the relationship between the variables is linear or can be approximated by a linear function.
Here are some key differences between the two correlation coefficients:
- Assumptions: Matthew correlation assumes that the relationship between the variables is ordinal, meaning that there is a clear ordering or ranking of the values. Pearson correlation assumes that the relationship between the variables is linear or can be approximated by a linear function.
- Applications: Matthew correlation is used in situations where the relationship between the variables is not linear, but there is a clear ordering or ranking of the values. For example, in education, it may be used to correlate student scores on a test with their rank in a class. Pearson correlation is used in situations where the relationship between the variables is linear or can be approximated by a linear function. For example, in physics, it may be used to correlate the force applied to an object with its acceleration.
- Calculation: Matthew correlation coefficient is calculated using the Spearman rank correlation formula, which is based on the ranks of the values rather than their actual values. Pearson correlation coefficient is calculated using the covariance between the variables and the variance of the variables.
- Interpretation: Both correlation coefficients range from -1 to 1, where a value of 1 indicates a perfect positive correlation, a value of -1 indicates a perfect negative correlation, and a value of 0 indicates no correlation. However, the interpretation of the correlation coefficient may be different depending on the context and the assumptions of the correlation measure.
In summary, the choice between Matthew correlation coefficient and Pearson correlation coefficient depends on the nature of the relationship between the variables and the assumptions of the correlation measure. If the relationship between the variables is not linear but there is a clear ordering or ranking of the values, Matthew correlation coefficient may be more appropriate. If the relationship between the variables is linear or can be approximated by a linear function, Pearson correlation coefficient may be more appropriate.