# Statistics - Little r - (Pearson product-moment Correlation coefficient)

The Pearson product-moment correlation coefficient is a correlation coefficient formulas that can be applied when both variables are continuous.

## Syntax

$$\begin{array}{rrc} \text{little r} & = & \frac{\text{degree to which X and Y vary together}}{\text{degree to which X and Y vary independently}} \\ & = & \frac{\href{Covariance}{Covariance} \text{ of X and Y}}{\href{Variance}{Variance}\text{ of X and Y}} \end{array}$$

The correlation is the standardized Covariance as standard deviation is the standardized variance. (Standardized to get the value in the range).

## Formula

The raw score formula and the Z score formula gives the same result.

### Raw score

$$r = \frac\sum_{i=1}^{N}{\href{cross_product}{\text{Cross Product of X & Y}}}}\sqrt{ \sum_{i=1}^{N}{(\href{deviation_score}{\text{Deviation score of X}})^2} . \sum_{i=1}^{N}{(\href{deviation_score}{\text{Deviation score of Y}})^2} } }$$

where:

### Z-score

$$r = \frac\sum_{i=0}^{N}{ (\href{z_score}{\text{Z Score of X }})( \href{z_score}{\text{Z Score of Y}}) } } {N}$$

where: