REGR_AVGX evaluates the average of the independent variable (expr2) of the regression line. It makes the following computation after the elimination of null (expr1, expr2) pairs:
AVG(expr2)
The function returns a value of type NUMERIC. If the function is applied to an empty set, then it returns null.