# RSQ

## Content

This function returns the square of the Pearson product moment correlation coefficient (R‑squared) through data points in known y’s and known x’s.

## Syntax

`RSQ(array_dep, array_ind)`

## Arguments

This function has these arguments:

| Argument | Description |
| -------- | ----------- |
| *array\_dep* | [Required] Array of dependent values (y’s) |
| *array\_ind* | [Required] Array of independent values (x’s) |

The arrays must be the same size.

## Examples

`RSQ(B2:B14,H2:H14)`
`RSQ(R2C2:R14C2,R2C8:R14C8)`