pseudo_outcome_abstract: Doubly-robust pseudo-outcome for binary treatment given...

View source: R/doubly_robust.R

pseudo_outcome_abstractR Documentation

Doubly-robust pseudo-outcome for binary treatment given nuisance function estimates.

Description

Doubly-robust pseudo-outcome for binary treatment given nuisance function estimates.

Usage

pseudo_outcome_abstract(y, reg_1, reg_0, propensity_score, treatment)

Arguments

y

The measured outcome (a real vector).

reg_1

The predicted outcome in the treatment group (a real vector).

reg_0

The predicted outcome in the control group (a real vector).

propensity_score

The predicted (or known) propensity score (a (0, 1)-valued vector)

treatment

Whether the subject received treatment (a boolean vector or 0/1-valued integer vector).

Value

The doubly-robust variables at each time (a vector of real numbers)


WannabeSmith/drconfseq documentation built on Sept. 13, 2023, 3:05 a.m.