.ReplaceNA: Replace missing values by the overall weighted mean
Description
Replace missing values by the overall weighted mean
Usage
.ReplaceNA(x1, x2, y, vi, tau2)
Arguments
x1
the two-column matrix of the indices of missing values
x2
the matrix of predicted y with missing values
tau2
the residual heterogeneity