We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
COVAR_POP
COVAR_SAMP
Currently these functions return the same value. The population value needs to be updated to actually calculate population covariance.
{ name: "covar_pop window", query: ` SELECT COVAR_POP(y, x) FROM UNNEST([STRUCT(1.0 AS y, 1.0 AS x), (2.0, 6.0), (9.0, 3.0), (2.0, 6.0), (9.0, 3.0)]) `, expectedRows: [][]interface{}{ // TODO(goccy/go-zetasqlite#): Use population covariance instead of sample covariance //expected output: {-1.6800000000000002}, {-2.1}, }, },
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently these functions return the same value. The population value needs to be updated to actually calculate population covariance.
The text was updated successfully, but these errors were encountered: