ClickHouse / ClickHouse/NoiSQL

Suspected incorrect usage of the `erf` function

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
SQL
Stars
293
Forks
4
PR merge metrics
No merged PRs in 30d

Description

I've put uniform distribution into `erf` to get normal distribution, but it looks like I made a mistake and should use negative to erf function: https://en.wikipedia.org/wiki/Quantile_function

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named. Start by locating the SQL expression that uses `erf`, then compare its intended normal-distribution behavior with the linked quantile-function reference. Done means the distribution-generation query uses the appropriate function and its output is validated against the intended distribution.

Written by the indexing model from the issue text.

Assessment

Tech stack
sql
Domain
database
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.