[X] I had searched in the issues and found no similar issues.
Description
We are going to support all regression functions in pg. You can see them in https://www.postgresql.org/docs/16/functions-aggregate.html with regr_ prefix. And considring the difficulty of this task, it will be nice for community as "good first issue".
In this issue, you should implement function regr_intercept and regr_slope
If you'd like to work on it, please comment to let me know. I'll help you to achieve this.
Solution
you can found an example of implementation of a aggregate function here
Search before asking
Description
We are going to support all regression functions in pg. You can see them in https://www.postgresql.org/docs/16/functions-aggregate.html with
regr_
prefix. And considring the difficulty of this task, it will be nice for community as "good first issue".In this issue, you should implement function
regr_intercept
andregr_slope
If you'd like to work on it, please comment to let me know. I'll help you to achieve this.
Solution
you can found an example of implementation of a aggregate function here
Are you willing to submit PR?
Code of Conduct