TargetedLearning.TMLEs
Exported
tmle(logitQnA1::Array{T, 1}, logitQnA0::Array{T, 1}, gn1::Array{T, 1}, A, Y) ΒΆ
Performs targeted minimum loss-based estimation
Arguments
logitQnA1- Vector of length n of initial estimates logit(ar{Q}_n(1, W_i))logitQnA0- Vector of length n of initial estimates logit(ar{Q}_n(0, W_i))gn1- Vector of length n of initial estimats g_n(1, W_i)A- Vector of length n of treatments, 0.0 or 1.0Y- Vector of length n of outcomes, bounded between 0 and 1.
Keyword Arguments
param- Target parameter. See ?ATE or ?Mean. Default is ATE()weightedfluc- A boolean,falseby default. Iffalse, the "standard" fluctuation is performed, there the fluctuation covariate is divided by (g_n(A_imid W_i)), and weights are set to 1. Iftrue, the fluctuation covariate is used directly, and weights are set to the reciprical of (g_n(A_imid W_i)) where (g_n(A_i mid W_i)) is computed asgn1[i]ifA[i]is 1, or1-gn1[i]otherwise.
source: TargetedLearning/src/TMLEs.jl:61