Description Usage Arguments Value Author(s)
A function compute ctmle estimator and its standard error based on julia package TargetedLearning.jl.
1 | tmle(logitQnA1, logitQnA0, W, A, Y, gn1, param = "ATE")
|
logitQnA1 |
logitQnA1 numeric vector containing initial estimates for treatment group in logit scale. |
logitQnA0 |
logitQnA0 numeric vector containing initial estimates for control group in logit scale. |
W |
numeric matrix or dataframe, stand for covariates. |
A |
numeric 1-0 vector, stand for treatment. |
Y |
numeric vector, stand for outcome. |
gn1 |
numeric vector, stand for estimated probability of treatment (propensity score). |
param |
a string stand for different target parameter. "ATE" stands for additive treatment effect, Mean1 and Mean0 stand for the mean outcome in treatment or control group. |
A list for targeted estimator and standard error.
Cheng JU
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.