View source: R/get_pseudo_outcome.R
get_pseudo_outcome | R Documentation |
This function calculates the pseudo-outcomes depending on the estimand
get_pseudo_outcome(
y,
a,
x,
v1,
v2,
mu0.x,
mu1.x,
pi.x,
cond.dens,
cate.w,
nsplits = 1
)
y |
outcome |
a |
treatment |
x |
confounders |
v1 |
effect modifiers 1 |
v2 |
effect modifiers 2 |
cond.dens |
function for the conditional density of any of random variable in v1 given all variables in v2 |
cate.w |
function for fitting E(tau(X) | v2) |
nsplits |
number of splints |
mu0x |
function for fitting mu0 |
mu1x |
function for fitting mu1 |
pix |
function for fitting propensity score |
a list containing the pseudo outcomes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.