Description Usage Arguments Value Author(s)
A function compute ctmle estimator and its standard error based on julia package TargetedLearning.jl.
1 2 3 |
logitQnA1 |
numeric vector containing initial estimates for treatment group in logit scale. |
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. |
v |
integer, stand for number of folds for cross-validation in cTMLE. |
gbounds |
a vector of numeric of length two (with both of them in [0,1]), stand for the truncation boud for gn. |
searchstrategy |
Strategy for adding covariates to estimates of g. Default is "ForwardStepwise". Other options: "LogisticOrdering", "PartialCorrOrdering", "SuperLearner" |
patience |
Integer, stand for how many steps should CV continue after finding a local optimum. Defaults to typemax(Int). |
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. |
order |
an integer vector for the manual ordering option. Notice, the first column is intercept, so the indexes start from 2. |
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.