uis: UIS Data set from Hosmer and Lemeshow

Description Usage Format Source Examples

Description

Description of the variables in the UIS Study described in Table 1.3 of Hosmer, D.W. and Lemeshow, S. and May, S. (2008)

Usage

1
data("uis")

Format

A data frame with 628 observations on the following 12 variables.

id

Participant id; a numeric vector

age

Age at enrollment

beck

Beck depression score at admission

hercoc

Heroin/cocaine use during 3 months priort to enrollment;a factor with levels heroin and cocaine herorin only cocaine only neither herorin nor cocaine

ivhx

IV drug use history at enrollment; a factor with levels never previous recent

ndrugtx

Number of prior treatments; a numeric vector

race

participant race; a factor with levels white other

treat

treatment randomization assignment; a factor with levels short long

site

Treatment site; a factor with levels A B

los

length of treatment; a numeric vector

time

Time to return to drug use, measured in days from admission; a numeric vector

censor

Returned to drug use; numeric, 1 = yes, 0 = no

Source

Applied Survival Analysis: Regression Modeling of Time to Event Data: Second Edition, John Wiley and Sons Inc., New York, NY

Examples

1
2
data(uis)
## maybe str(uis) ; plot(uis) ...

dave-harrington/eventtimedata documentation built on May 7, 2020, 2 p.m.