Parameter | Type | Description |
---|---|---|
ys | decimal, double | the independent variable. |
xs | decimal, double | The dependent variable |
Returns: decimal
Example
query:
SELECT REGR_SYY(flux, time_bjd_2454833)
FROM tabbysstarflux
result:
regr_syy |
---|
51.85 |
Calculates the linear regression coefficient for the sum of y*y where x and y are not null.
Parameter | Type | Description |
---|---|---|
ys | decimal, double | the independent variable. |
xs | decimal, double | The dependent variable |
query:
SELECT REGR_SYY(flux, time_bjd_2454833)
FROM tabbysstarflux
result:
regr_syy |
---|
51.85 |