View source: R/doubly_robust.R
pseudo_outcome_variance | R Documentation |
Variance of the doubly robust observations
pseudo_outcome_variance(y, reg_1, reg_0, propensity_score, treatment)
y |
The measured outcome (a real number). |
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 variance of the doubly-robust observations (a vector of real numbers)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.