From 8a777ac13557a320c018b15ebebd7da07f8639ee Mon Sep 17 00:00:00 2001 From: goodroot <9484709+goodroot@users.noreply.github.com> Date: Tue, 26 Nov 2024 10:56:23 -0800 Subject: [PATCH] Update documentation/reference/function/finance.md Co-authored-by: Nick Woolmer <29717167+nwoolmer@users.noreply.github.com> --- documentation/reference/function/finance.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/reference/function/finance.md b/documentation/reference/function/finance.md index 99bb25d8..fed6ca02 100644 --- a/documentation/reference/function/finance.md +++ b/documentation/reference/function/finance.md @@ -156,7 +156,7 @@ SELECT mid(1.5760, 1.5763) `regr_intercept(y, x)` - Calculates the y-intercept of the linear regression line for the given numeric columns y (dependent variable) and x (independent variable). -- The function requires at least two valid (x, y) pairs to compute the intercept. +- The function requires at least two valid (y, x) pairs to compute the intercept. - If fewer than two pairs are available, the function returns null. - Supported data types for x and y include `double`, `float`, and `integer` types. - The regr_intercept function can be used with other statistical aggregation functions like `regr_slope` or `corr`.