Skip to contents

Returns summary object which contains a summary of the fitted MSM as well as pre- and post-weighting standardized mean differences (SMDs).

Usage

# S3 method for class 'transportIP'
summary(object, covariates = NULL, effectModifiers = NULL, ...)

# S3 method for class 'summary.transportIP'
print(x, out = stdout(), ...)

Arguments

object

Result from transportIP function

covariates

Vector of strings indicating names of covariates in propensity model

effectModifiers

Vector of strings indicating names of effect modifiers in participation model

...

Further arguments from previous function or to pass to next function

x

summary.transportIP object.

out

Output stream.

Value

The summary.transportIP function returns a summary.transportIP object containing the following components:

  • propensitySMD: Table of unweighted and weighted SMDs of covariates between treatment groups. Only propensity weights are used.

  • participationSMD: Table of unweighted and weighted SMDs of effect modifiers between study data and target data. Only participation weights are used.

  • msmSummary: Summary object of model object for MSM. The correct variance estimators are set here for glm, whereas they are set in transportIP for survreg and coxph.