Computation of the density ratio score
densityRatioScore(
X,
Xhat,
x = NULL,
num.proj = 10,
num.trees.per.proj = 1,
projection.function = NULL,
min.node.size = 1,
normal.proj = T
)
a matrix of the observed data containing missing values.
a matrix of imputations having same size as X.
pattern of missing values.
an integer specifying the number of projections.
an integer, the number of trees per projection.
a function providing the user-specific projections.
the minimum number of observations in a leaf of a tree.
a boolean, if TRUE, sample from the NA of the pattern and additionally from the non NA. If FALSE, sample only from the NA of the pattern.
a fitted random forest based on random projections