A function to find the optimal combination of first two splits, and the corresponding Q-between given the first split
find_second_split(xk, first.splits, y, vi, minbucket, minsplit)
xk
: moderator vectorfirst.splits
: possible first splitsy
: effect sizevi
: sampling varianceminbucket
: the minimal number of studies in child nodesminsplit
: the minimal number of studies in parent nodea list including all possible combinations of the triplet
Useful links