The Pearson product-moment correlation coefficient called also the Pearson's linear correlation coefficient (Pearson (1896,1900)) is used to decribe the strength of linear relations between 2 features. It may be calculated on an interval scale as long as there are no measurement outliers and the distribution of residuals or the distribution of the analyed features is a normal one.
- the following values of the feature and ,
- means values of features: and ,
- sample size.
– the Pearson product-moment correlation coefficient in a population;
– the Pearson product-moment correlation coefficient in a sample.
The value of , and it should be interpreted the following way:
Graphic interpretation of .
If one out of the 2 analysed features is constant (it does not matter if the other feature is changed), the features are not dependent from each other. In that situation can not be calculated.
You are not allowed to calculate the correlation coefficient if: there are outliers in a sample (they may make that the value and the sign of the coefficient would be completely wrong), if the sample is clearly heterogeneous, or if the analysed relation takes obviously the other shape than linear.
The coefficient of determination: – reflects the percentage of a dependent variable a variability which is explained by variability of an independent variable.
EXAMPLE cont. (age-height.pqs file)