[ https://issues.apache.org/jira/browse/IMPALA-11957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pranav Yogi Lodha updated IMPALA-11957: --------------------------------------- Description: 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() returns the slope of the line. regr_intercept() 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. > 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 > > 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() returns the slope of the line. > regr_intercept() 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-unsubscr...@impala.apache.org For additional commands, e-mail: issues-all-h...@impala.apache.org