You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/sql/functions/aggregates.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -473,9 +473,9 @@ They all ignore `NULL` values (in the case of a single input column `x`), or pai
473
473
|[`regr_intercept(y, x)`](#regr_intercepty-x)| The intercept of the univariate linear regression line, where x is the independent variable and y is the dependent variable. |
474
474
|[`regr_r2(y, x)`](#regr_r2y-x)| The squared Pearson correlation coefficient between y and x. Also: The coefficient of determination in a linear regression, where x is the independent variable and y is the dependent variable. |
475
475
|[`regr_slope(y, x)`](#regr_slopey-x)| The slope of the linear regression line, where x is the independent variable and y is the dependent variable. |
476
-
|[`regr_sxx(y, x)`](#regr_sxxy-x)| The sample variance, which includes Bessel's bias correction, of the independent variable for non-`NULL` pairs, where x is the independent variable and y is the dependent variable. |
477
-
|[`regr_sxy(y, x)`](#regr_sxyy-x)| The sample covariance, which includes Bessel's bias correction. |
478
-
|[`regr_syy(y, x)`](#regr_syyy-x)| The sample variance, which includes Bessel's bias correction, of the dependent variable for non-`NULL` pairs , where x is the independent variable and y is the dependent variable. |
476
+
|[`regr_sxx(y, x)`](#regr_sxxy-x)| The population variance, which includes Bessel's bias correction, of the independent variable for non-`NULL` pairs, where x is the independent variable and y is the dependent variable. |
477
+
|[`regr_sxy(y, x)`](#regr_sxyy-x)| The population covariance, which includes Bessel's bias correction. |
478
+
|[`regr_syy(y, x)`](#regr_syyy-x)| The population variance, which includes Bessel's bias correction, of the dependent variable for non-`NULL` pairs , where x is the independent variable and y is the dependent variable. |
479
479
|[`skewness(x)`](#skewnessx)| The skewness. |
480
480
|[`stddev_pop(x)`](#stddev_popx)| The population standard deviation. |
481
481
|[`stddev_samp(x)`](#stddev_sampx)| The sample standard deviation. |
@@ -622,23 +622,23 @@ They all ignore `NULL` values (in the case of a single input column `x`), or pai
622
622
623
623
<divclass="nostroke_table"></div>
624
624
625
-
|**Description**| The sample variance, which includes Bessel's bias correction, of the independent variable for non-`NULL` pairs, where x is the independent variable and y is the dependent variable. |
625
+
|**Description**| The population variance, which includes Bessel's bias correction, of the independent variable for non-`NULL` pairs, where x is the independent variable and y is the dependent variable. |
626
626
|**Formula**| - |
627
627
|**Alias(es)**| - |
628
628
629
629
#### `regr_sxy(y, x)`
630
630
631
631
<divclass="nostroke_table"></div>
632
632
633
-
|**Description**| The sample covariance, which includes Bessel's bias correction. |
633
+
|**Description**| The population covariance, which includes Bessel's bias correction. |
634
634
|**Formula**| - |
635
635
|**Alias(es)**| - |
636
636
637
637
#### `regr_syy(y, x)`
638
638
639
639
<divclass="nostroke_table"></div>
640
640
641
-
|**Description**| The sample variance, which includes Bessel's bias correction, of the dependent variable for non-`NULL` pairs, where x is the independent variable and y is the dependent variable. |
641
+
|**Description**| The population variance, which includes Bessel's bias correction, of the dependent variable for non-`NULL` pairs, where x is the independent variable and y is the dependent variable. |
0 commit comments