Learn R Programming

R330 (version 1.0)

drug.df: Drug addiction data

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

data(drug.df)

Arguments

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

Run this code
data(drug.df)
cross.val(DFREE ~ NDRUGTX + factor(IVHX) + AGE + TREAT, data = drug.df)

Run the code above in your browser using DataLab