View source: R/doubly_robust.R
pseudo_outcome_abstract | R Documentation |
Doubly-robust pseudo-outcome for binary treatment given nuisance function estimates.
pseudo_outcome_abstract(y, reg_1, reg_0, propensity_score, treatment)
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). |
The doubly-robust variables at each time (a vector of real numbers)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.