sptm (version 2019.11-25)

enhanced.ipw.coxph: Enhanced Inverse Probability Weighted coxph

Description

enhanced.ipw.coxph is a wrapper function for calling svycoxph of survey package.

Usage

enhanced.ipw.coxph (formula, dat, strata.formula, subset, imputation.formulae,
    verbose=FALSE)

Arguments

formula

a formula that gives the model we are interested to fit

dat

a data frame

strata.formula

a formula that gives how two phase sampling is done

subset

a vector of logicals that give which observations are indluced in phase 2

imputation.formulae

a list of formulae or a single formula that give models to impute missing data

verbose

Boolean

Value

An object of class svycoxph.