Hey guys i am trying to do wieghted median over two columns which is the best macro for the same ?
Used crew macro but getting into config trouble the macro works well but does not give the group by ids in the output. In the config i grouped by a column for ex. id and it has to calculate wieghted median for each of those id. The output does not show me the id just the weighted median values.
Output i got
weighted median
5
3
2.785714
4
3
4.208333
Desired output
Id weighted median
1 5
2 3
3 2.785714
4 4
5 3
6 4.208333