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

Adding studentt_cdf UDF #421

Merged

Conversation

dqmis
Copy link
Contributor

@dqmis dqmis commented Jun 7, 2024

Adding studentt_cdf UDF. The UDF uses jStat.studentt.cdf function.

studentt_cdf(x FLOAT64, dof FLOAT64)

Returns the value of x in the cdf of the Student's T distribution with dof degrees of freedom.

Sample Query:

SELECT `bqutils.fn.studentt_cdf`(1.0, 2.0) as studentt_cdf;

Results:

Row studentt_cdf
1 0.788675134594813

Copy link

google-cla bot commented Jun 7, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@dqmis dqmis force-pushed the feat/adding_studentt_cdf_udf branch from 32826cc to 51b358a Compare June 7, 2024 14:49
@afleisc afleisc self-requested a review June 7, 2024 15:41
@afleisc
Copy link
Collaborator

afleisc commented Jun 7, 2024

/gcbrun

@afleisc afleisc merged commit 855373f into GoogleCloudPlatform:master Jun 7, 2024
45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants