Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support kurtosis_pop in Aggregation function #12251

Closed
Tracked by #12254
Weijun-H opened this issue Aug 30, 2024 · 2 comments · Fixed by #12273
Closed
Tracked by #12254

Support kurtosis_pop in Aggregation function #12251

Weijun-H opened this issue Aug 30, 2024 · 2 comments · Fixed by #12273
Assignees
Labels
enhancement New feature or request

Comments

@Weijun-H
Copy link
Member

Weijun-H commented Aug 30, 2024

Is your feature request related to a problem or challenge?

The excess kurtosis (Fisher’s definition) without bias correction.

Describe the solution you'd like

D SELECT kurtosis_pop(col) FROM VALUES (1), (10), (100), (10), (1) as tab(col);
┌─────────────────────┐
│  kurtosis_pop(col)  │
│       double        │
├─────────────────────┤
│ 0.19432323191699075 │
└─────────────────────┘

Describe alternatives you've considered

No response

Additional context

https://duckdb.org/docs/sql/functions/aggregates#kurtosis_popx
https://clickhouse.com/docs/en/sql-reference/aggregate-functions/reference/kurtpop

@Weijun-H Weijun-H added the enhancement New feature or request label Aug 30, 2024
@Weijun-H Weijun-H changed the title Support Support kurtosis_pop in Aggregation function Aug 30, 2024
@goldmedal
Copy link
Contributor

take

@alamb
Copy link
Contributor

alamb commented Sep 9, 2024

Given #12357 we may want to move this function to some other repo rather than the core

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants