A correlation coefficient is a
numerical measure of some type of linear
correlation
In statistics, correlation or dependence is any statistical relationship, whether causal or not, between two random variables or bivariate data. Although in the broadest sense, "correlation" may indicate any type of association, in statistics ...
, meaning a statistical relationship between two
variables. The variables may be two
columns of a given
data set
A data set (or dataset) is a collection of data. In the case of tabular data, a data set corresponds to one or more table (database), database tables, where every column (database), column of a table represents a particular Variable (computer sci ...
of observations, often called a
sample, or two components of a
multivariate random variable with a known
distribution.
Several types of correlation coefficient exist, each with their own definition and own range of usability and characteristics. They all assume values in the range from −1 to +1, where ±1 indicates the strongest possible correlation and 0 indicates no correlation. As tools of analysis, correlation coefficients present certain problems, including the propensity of some types to be distorted by
outliers and the possibility of incorrectly being used to infer a
causal relationship between the variables (for more, see
Correlation does not imply causation
The phrase "correlation does not imply causation" refers to the inability to legitimately deduce a cause-and-effect relationship between two events or variables solely on the basis of an observed association or correlation between them. The id ...
).
Types
There are several different measures for the degree of correlation in data, depending on the kind of data: principally whether the data is a measurement,
ordinal, or
categorical.
Pearson
The
Pearson product-moment correlation coefficient
In statistics, the Pearson correlation coefficient (PCC) is a correlation coefficient that measures linear correlation between two sets of data. It is the ratio between the covariance of two variables and the product of their standard deviation ...
, also known as , , or ''Pearson's'' , is a measure of the strength and direction of the ''linear'' relationship between two variables that is defined as the
covariance of the variables divided by the product of their standard deviations. This is the best-known and most commonly used type of correlation coefficient. When the term "correlation coefficient" is used without further qualification, it usually refers to the Pearson product-moment correlation coefficient.
Intra-class
Intraclass correlation (ICC) is a descriptive statistic that can be used, when quantitative measurements are made on units that are organized into groups; it describes how strongly units in the same group resemble each other.
Rank
Rank correlation is a measure of the relationship between the rankings of two variables, or two rankings of the same variable:
*
Spearman's rank correlation coefficient
In statistics, Spearman's rank correlation coefficient or Spearman's ''ρ'' is a number ranging from -1 to 1 that indicates how strongly two sets of ranks are correlated. It could be used in a situation where one only has ranked data, such as a ...
is a measure of how well the relationship between two variables can be described by a monotonic function.
*The
Kendall tau rank correlation coefficient is a measure of the portion of ranks that match between two data sets.
*
Goodman and Kruskal's gamma is a measure of the strength of association of the cross tabulated data when both variables are measured at the ordinal level.
Tetrachoric and polychoric
The
polychoric correlation coefficient measures association between two ordered-categorical variables. It's technically defined as the estimate of the Pearson correlation coefficient one would obtain if:
# The two variables were measured on a continuous scale, instead of as ordered-category variables.
# The two continuous variables followed a
bivariate normal distribution.
When both variables are
dichotomous instead of ordered-categorical, the
polychoric correlation coefficient is called the tetrachoric correlation coefficient.
Interpreting correlation coefficient values
The correlation between two variables have different associations that are measured in values such as or . Correlation values range from −1 to +1, where ±1 indicates the strongest possible correlation and 0 indicates no correlation between variables.
See also
*
Correlation disattenuation
*
Coefficient of determination
*
Correlation and dependence
*
Correlation ratio
*
Distance correlation
*
Goodness of fit
The goodness of fit of a statistical model describes how well it fits a set of observations. Measures of goodness of fit typically summarize the discrepancy between observed values and the values expected under the model in question. Such measur ...
, any of several measures that measure how well a statistical model fits observations by summarizing the discrepancy between observed values and the values expected under the model
*
Multiple correlation
*
Partial correlation
Notes
References
{{Portal bar, Mathematics
Correlation indicators
Mathematical terminology