Hello,
I was looking at some code for doing correlation matrices for different variables in a tree and i started wondering if there is a native way to do so. Something like
tree->getCorrMatrix(“branch1&&branch2&&…”,“weightBranch”);
and already draws it (maybe)
where branch1,2… are the branches with the variables i want to get the correlation matrix of, and weightBranch may be a branch containing the weight of each event. Would also be interesting to have formulas relating the different branches (“(branch1+branch2)&&branch3…”)
I’m sorry if it already exists, I was looking for it but i was not able to find it.
Thanks for your help.
Apologies for the delay. It could be useful but presently we do not have resources to put this on the program of work. Are you interested in giving it a try?