drug.df: Drug addiction data

Description Usage Format Source References Examples

Description

Data from University of Massachusetts AIDS Research Unit IMPACT study, a medical study performed in the US in the early 90' s. The study aimed to evaluate two different treatments for drug addiction.

Usage

1

Format

A data frame with 575 observations on the following 9 variables:

ID

Identification Code

AGE

Age at enrollment

BECK

Back depression score

IVHX

IV drug use history at admission (1=never, 2=previous, 3=recent)

NDRUGTX

number of prior treatments

RACE

subjects race (0 = white, 1 = other)

TREAT

treatment duration (0 = short, 1 = long)

SITE

treatment site (0 = A, 1 = B)

DFREE

Remained drug free (1 = Yes, 0 = No) (response)

Source

Hosmer and Lemeshow, Applied Logistic Regression (2nd Ed), p28

References

Hosmer, D.W. and Lemeshow, S. (2000), Applied Logistic Regression (2nd Ed), Wiley, New York.

Examples

1
2
data(drug.df)
cross.val(DFREE ~ NDRUGTX + factor(IVHX) + AGE + TREAT, data = drug.df)

R330 documentation built on May 2, 2019, 2:12 p.m.