resEst: Residual estimate after subtracting the linear main effect

Description Usage Arguments Value Author(s)

Description

calculate the residual after subtracting the linear main effect

Usage

1
resEst(X,R,p)

Arguments

X

n by p input matrix.

R

a vector of outcome variable, larger is more desirable.

p

a vector of probability of P(A|X) for each observation.

Value

It returns the residual in psi-Learn

res

the residual in psi-Learn

Author(s)

MingyangLiu <liux3941@umn.edu>


mylzwq/psi-learning-for-ITR documentation built on May 15, 2019, 1:18 p.m.