densityRatioScore {Iscores}R Documentation

Computation of the density ratio score

Description

Computation of the density ratio score

Usage

densityRatioScore(
  X,
  Xhat,
  x = NULL,
  num.proj = 10,
  num.trees.per.proj = 1,
  projection.function = NULL,
  min.node.size = 1,
  normal.proj = T
)

Arguments

X

a matrix of the observed data containing missing values.

Xhat

a matrix of imputations having same size as X.

x

pattern of missing values.

num.proj

an integer specifying the number of projections.

num.trees.per.proj

an integer, the number of trees per projection.

projection.function

a function providing the user-specific projections.

min.node.size

the minimum number of observations in a leaf of a tree.

normal.proj

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.

Value

a fitted random forest based on random projections


[Package Iscores version 1.1.0 Index]