sum_y()
calculates the skewness for all the values of the y variable, independent of values of the x variable.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Calculate the sum from a two-dimensional statistical aggregate for the dimension specified
sum_y()
calculates the skewness for all the values of the y variable, independent of values of the x variable.
SELECT sum_y(stats_agg(data, data))
FROM generate_series(0, 100) data;
sum_y
-----
5050
sum_y(
summary StatsSummary2D
) RETURNS DOUBLE PRECISION
sum_x(
summary StatsSummary2D
) RETURNS DOUBLE PRECISION
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| summary | StatsSummary2D | - | ✔ | The statistical aggregate produced by a stats_agg call |
| Column | Type | Description |
|---|---|---|
| sum | DOUBLE PRECISION | The sum of the values in the statistical aggregate |