50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

metacart (version 2.0-3)

re.cutoff_cpp: A function to find the split point

Description

A function to find the split point

Usage

re.cutoff_cpp(g, vi, x, inx.s, cnode, minbucket)

Arguments

g

the effect size

vi

the sampling variance

x

the splitting moderator

inx.s

indicates whether a study belongs to the candidate parent leaf

cnode

the terminal nodes that the studies belong to in the current tree

minbucket

the minimum number of the studies in a terminal node

Value

a vector including the split point, Q, and tau2