mitools (version 2.4)

smi: Multiple imputations

Description

An imputationList object containing five imputations of data from the Victorian Adolescent Health Cohort Study.

Usage

data(smi)

Arguments

Format

The underlying data are in a data frame with 1170 observations on the following 12 variables.

id

a numeric vector

wave

a numeric vector

mmetro

a numeric vector

parsmk

a numeric vector

drkfre

a factor with levels Non drinker not in last wk <3 days last wk >=3 days last wk

alcdos

a factor with levels Non drinker not in last wk av <5units/drink_day av =>5units/drink_day

alcdhi

a numeric vector

smk

a factor with levels non/ex-smoker <6 days 6/7 days

cistot

a numeric vector

mdrkfre

a numeric vector

sex

a numeric vector

drinkreg

a logical vector

Examples

Run this code
# NOT RUN {
data(smi)
with(smi, table(sex, drkfre))
model1<-with(smi, glm(drinkreg~wave*sex, family=binomial()))
MIcombine(model1)
summary(MIcombine(model1))
# }

Run the code above in your browser using DataCamp Workspace