tmdm: Function to fit the transitional missing data model and...

Description Usage Arguments Examples

Description

Fit missing data model and obtain predicted probabilities of being observed for all observations.

Usage

1

Arguments

formula

a formula to specify a multinomial transitional missing data model in the form of g+gp ~Sterms.

data

the name of the dataset for fitting missing data mechansim model

weights

an optional vector of "prior weights" to be used in the fitting process for the missingness mechanism model. Should be NULL or a numeric vector.

subset

an optional vector specifying a subset of observations to be used in the fitting process for the outcome model and the missingness mechanism model.

Examples

1
qolefitg <- tmdm(g+gp~as.factor(time)+group+perf+sever,data=qolef)

isni documentation built on Aug. 23, 2021, 9:06 a.m.

Related to tmdm in isni...