| Parameter | Type | Description | 
|---|---|---|
| ys | decimal, double | the independent variable. | 
| xs | decimal, double | The dependent variable | 
Returns: decimal
Example
query:
SELECT CORRELATION(flux, time_bjd_2454833)
  FROM tabbysstarfluxresult:
| correlation | 
|---|
| -0.89 | 
A statistical measure that shows how closely related are two sets of values. The specific correlation provided is the Pearson correlation coefficient.
| Parameter | Type | Description | 
|---|---|---|
| ys | decimal, double | the independent variable. | 
| xs | decimal, double | The dependent variable | 
query:
SELECT CORRELATION(flux, time_bjd_2454833)
  FROM tabbysstarfluxresult:
| correlation | 
|---|
| -0.89 |