od: Outcome distribution estimator (G-computation)

Description Usage Arguments Value

Description

Outcome distribution estimator (G-computation)

Usage

1
od(y, t, Q, g, q)

Arguments

y

Vector with outcome values.

t

Vector with binary treatment indicator.

Q

Conditional outcome distribution estimate. This should come in the for of an n x p matrix, where each column represents a conditional quantile. (See Kang & Schafer example in tmle() function)

g

Propensity score.

q

Quantile to be computed (e.g., q = 0.5 for the median.)

Value

A point estimate


idiazst/causal-quantile documentation built on May 18, 2019, 2:32 a.m.