A function to find the split point
re.cutoff_cpp(g, vi, x, inx.s, cnode, minbucket)
g
: the effect sizevi
: the sampling variancex
: the splitting moderatorinx.s
: indicates whether a study belongs to the candidate parent leafcnode
: the terminal nodes that the studies belong to in the current treeminbucket
: the minimum number of the studies in a terminal nodea vector including the split point, Q, and tau2
Useful links