Learn R Programming

tmle (version 2.0.1.1)

summary.tmle: Summarization of the results of a call to the tmle routine

Description

These functions are all methods for class tmle, tmle.list, summary.tmle, summary.tmle.list objects

Usage

# S3 method for tmle
summary(object, ...)
# S3 method for tmle.list
summary(object, ...)
# S3 method for tmle
print(x, ...)
# S3 method for tmle.list
print(x, ...)
# S3 method for summary.tmle
print(x, ...)
# S3 method for summary.tmle.list
print(x, ...)

Value

estimates

list of parameter estimates, pvalues, and 95% confidence intervals

Qmodel

working model used to obtain initial estimate of Q portion of the likelihood, if glm used

Qterms

terms in the model for Q

Qcoef

coefficient of each term in model for Q

gmodel

model used to estimate treatment mechanism g

gterms

terms in the treatment mechanism model

gcoef

coefficient of each term in model for treatment mechanism

gtype

description of estimation procedure for treatment mechanism, e.g. "SuperLearner"

gdiscreteSL

flag indicating whether discrete SL or ensemble SL was used for treatment mechanism estimation

g.Zmodel

model used to estimate intermediate variable assignment mechanism g.Z

g.Zterms

terms in the intermediate mechanism model

g.Zcoef

coefficient of each term in model for intermediate mechanism

g.Ztype

description of estimation procedure for intermediate variable

g.ZdiscreteSL

flag indicating whether discrete SL or ensemble SL was used for intermediate variable estimation

g.Deltamodel

model used to estimate missingness mechanism g.Delta

g.Deltaterms

terms in the missingness mechanism model

g.Deltacoef

coefficient of each term in model for missingness mechanism

g.Deltatype

description of estimation procedure for missingness

g.DeltadiscreteSL

flag indicating whether discrete SL or ensemble SL was used for missingness estimation

Arguments

object

an object of class tmle or tmle.list.

x

an object of class tmle or tmle.list for summary functions, class summary.tmle or summary.tmle.list for print functions.

...

currently ignored.

Author

Susan Gruber

Details

print.tmle prints the estimate, variance, p-value, and 95% confidence interval only. print.summary.tmle, called indirectly by entering the command summary(result) (where result has class tmle), outputs additional information. Controlled direct effect estimates have class tmle.list, a list of two objects of class tmle. The first item corresponds to \(Z=0\), the second to \(Z=1\)

See Also

tmle

Examples

Run this code
# generate data
  set.seed(10)
  n <- 500
  W <- matrix(rnorm(n*3), ncol=3)
  A <- rbinom(n,1, 1/(1+exp(-(.1*W[,1] - .1*W[,2] + .5*W[,3]))))
  Y <- A + 2*W[,1] + W[,3] + W[,2]^2 + rnorm(n)
  colnames(W) <- paste("W",1:3, sep="")

  result <- tmle(Y,A,W, Qform="Y~A+W1", g1W=rep(.5, n))
  summary(result)

Run the code above in your browser using DataLab