tmle: tmle

Description Usage Arguments Value Author(s)

View source: R/ctmle.R

Description

A function compute ctmle estimator and its standard error based on julia package TargetedLearning.jl.

Usage

1
tmle(logitQnA1, logitQnA0, W, A, Y, gn1, param = "ATE")

Arguments

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.

Value

A list for targeted estimator and standard error.

Author(s)

Cheng JU


jucheng1992/ctmlejl documentation built on May 20, 2019, 4:20 a.m.