Pearson R Test. The pearson product moment correlation coefficient or pearson correlation coefficient for short is a measure of the strength of a linear association between two variables and is denoted by r. To test if age and income are related researchers collected the ages and yearly incomes of 10 individuals shown below.
What does this test do. Pearson s correlation coefficient r is a measure of the strength of the association between the two variables. The cor test function requires two inputs.
A pearson correlation is a statistical test to determine the association between two continuous variables.
These are the two variables that you want to correlate in the pearson correlation. The pearson correlation coefficient measures the linear relationship between two datasets. By default the cor test function performs a two sided pearson correlation test. In simple words pearson s correlation coefficient calculates the effect of change in one variable when the other variable changes.