You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
would like AvgWeighted, var*Weighted, and stddev*Weighted functions #2014
I'd like to request some new functions. There are quantile*Weighted functions but no Weighted functions for simple statistics like average, variance, and the standard deviation. I can do the weighting calculation in the query but I think functions would be easier to use, read, and understand.
Please be careful with naming. As we have function sum, the weighted should be named sumWeighted, and as we have varSamp, the weighted should be named varSampWeighted.
Activity
bubaflub commentedon Mar 9, 2018
If folks think it is a good idea I can put a PR up that implements what I'm suggesting.
alexey-milovidov commentedon Mar 9, 2018
I think, it is good idea!
Looking forward for PR.
bubaflub commentedon Mar 12, 2018
Great. I'm thinking about implementing:
I can add tests and documentation in English as well.
alexey-milovidov commentedon Mar 12, 2018
Ok.
Please be careful with naming. As we have function
sum, the weighted should be namedsumWeighted, and as we havevarSamp, the weighted should be namedvarSampWeighted.Slind14 commentedon Sep 8, 2018
At this point one could also consider adding a function for a T-Test (mean, std. dev., count, confidence) as well as T-Test(x, confidence)
leif-larsen commentedon Oct 23, 2018
Has this been implemented yet?
alexey-milovidov commentedon Oct 23, 2018
No.
Merge pull request ClickHouse#2014 from Altinity/smaller-builds