Hi all, this is more a statistical question than R programming really, and apologise in advance if this was already discussed but I could not find an actual topic matching my question... I have selected two elements out of a data frame to determine their correlation coefficient and R squared using R.

The data is made of 29 rows and 10 columns, showing dates in the first column and integers on the others (number of registrations throughout 29 days). The correlation coefficient result was 0.5297954 which squared value gives us the R squared 0.2807.

Now, in my understanding R squared measures the variation of the dependent variable by the independent variable (i.e. R squared 0.2807 can be interpreted as 28% of the variance of the dependent variable can be explained by the independent variable). Given the above is it correct to say that correlation coefficient and R squared are the same? Is it possible to have different values instead?

Thanks Al

The data is made of 29 rows and 10 columns, showing dates in the first column and integers on the others (number of registrations throughout 29 days). The correlation coefficient result was 0.5297954 which squared value gives us the R squared 0.2807.

Now, in my understanding R squared measures the variation of the dependent variable by the independent variable (i.e. R squared 0.2807 can be interpreted as 28% of the variance of the dependent variable can be explained by the independent variable). Given the above is it correct to say that correlation coefficient and R squared are the same? Is it possible to have different values instead?

Thanks Al

Last edited: