Learn R Programming

DynTxRegime (version 4.15)

createrwl: Create method object for Residual Weighted Learning

Description

Create method object for Residual Weighted Learning

Create method object for Residual Weighted Learning

Usage

.createrwl(kernel, txVec, response, prWgt, surrogate, guess = NULL, mu, ...)

.createrwlcount( kernel, txVec, response, prWgt, surrogate, guess = NULL, mu, ... )

Value

An .rwl object

An .rwl object

Arguments

kernel

Kernel object

txVec

Vector of tx coded as -1/1

response

Vector of responses

prWgt

Vector of propensity for tx received

surrogate

Surrogate object indicating surrogate loss-function

guess

Vector of estimated regime parameters

mu

Matrix of outcome regression