You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Michael Smith (Jira)" <ji...@apache.org> on 2023/09/15 18:04:00 UTC

[jira] [Resolved] (IMPALA-11957) Implement Regression functions : regr_slope(), regr_intercept() and regr_r2()

     [ https://issues.apache.org/jira/browse/IMPALA-11957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Smith resolved IMPALA-11957.
------------------------------------
    Fix Version/s: Impala 4.3.0
       Resolution: Fixed

> Implement Regression functions : regr_slope(), regr_intercept() and regr_r2()
> -----------------------------------------------------------------------------
>
>                 Key: IMPALA-11957
>                 URL: https://issues.apache.org/jira/browse/IMPALA-11957
>             Project: IMPALA
>          Issue Type: Sub-task
>            Reporter: Pranav Yogi Lodha
>            Assignee: Pranav Yogi Lodha
>            Priority: Major
>             Fix For: Impala 4.3.0
>
>
> The linear regression functions fit an ordinary-least-squares regression line
> to a set of number pairs which can be used both as aggregate and analytic functions.
>  * regr_slope() takes two arguments of numeric type and returns the slope of the line.
>  * regr_intercept() takes two arguments of numeric type and returns the y-intercept of the regression line.
>  * regr_r2() takes two arguments of numeric type and returns the coefficient of determination (also called R-squared or goodness of fit) for the regression.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org