Skip to content

Commit

Permalink
Update documentation/reference/function/finance.md
Browse files Browse the repository at this point in the history
Co-authored-by: Nick Woolmer <[email protected]>
  • Loading branch information
goodroot and nwoolmer authored Nov 26, 2024
1 parent f98af08 commit 8a777ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/reference/function/finance.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit 8a777ac

Please sign in to comment.