g.predict: Regression Method Prediction

Description Usage Arguments Value

View source: R/g.estimation.R

Description

Regression Method Prediction

Usage

1
2
g.predict(object, data.eval, data.chunk, mode = "CDML", verbose = TRUE,
  g.method = "rf")

Arguments

object

object that is from g.method.estimation function

data.eval

data to be evaluated, the (T,X) pair is of interest

data.chunk

whole data, covariates are of interest

mode

choose from "CDML", "SR", "HI". The default set-up is for "CDML" case.

verbose

whether to print step in console

g.method

regression g.method that is specified in parameter object.

Value

a vector and a matrix For the matrix elements, they stand for the predicted values of: row means given certain treatment from data.eval column means given certain covariates from data.chunk. For the vector: we list in order the predicted value as i=1,...,n for (T_i, X_i)


fadedsoul/cdml documentation built on May 14, 2019, 8:01 a.m.