0
$\begingroup$

As far as I understood, R squared explains how much the variation in Y is explained by its linear association with X. And it's used as an indicator for goodness of fit of a linear model.

Then when should I use r (Pearson coefficient)? How is it useful?

$\endgroup$