UIS: UIS - The UMARU IMPACT Study - Data

Description Usage Format Source References Examples

Description

Data were from randomized trials related to treatment for drug abuse obtained by the University of Massachusetts Aids Research Unit (UMARU) IMPACT Study (UIS). The main goal of the study was to compare treatment programs of different durations in the reduction of drug abuse and in the prevention of high-risk HIV behavior (Hosmer and Lemeshow, 2000). The variables on the dataset included here are age at enrollment, drug use history at admission, race, treatment group, treatment site, and patient's status at the end of the treatment program (remained drug free or otherwise). These data are copyrighted by John Wiley & Sons Inc. and are used here to illustrate the calculation of prevalence ratios and corresponding confidence intervals.

Usage

1

Format

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

ID

Identification code.

Age

Age at enrollment (in years) recoded to 1= 32 years or younger, 0= more than 32 years-old.

DrugUse

Drug use history at admission (1=never, 2=previous, 3=recent). Recoded to 1= never and 0= previous or recent.

race

Subject's race (0=white, 1=other).

trt

Treatment group (0=short, 1=long).

site

Treatment site (0=A, 1=B).

drugFree

Returned to drug use prior to the scheduled end of the treatment program (1=remained drug free, 0=otherwise).

Source

The data come from
Hosmer and Lemeshow (2000) Applied Logistic Regression. 2nd Edition, New York: John-Wiley & Sons.
These data are copyrighted by John Wiley & Sons Inc.
We acknowledged it and use the data to illustrate the methodology included in this library.

References

Weisberg, S. (2005) Applied Linear Regression. Wiley-Interscience.

Examples

1
2
3
4
5
data("UIS", package = "prLogistic")
 attach(UIS) 
 tmp=table(drugFree,trt)   
 options(digits=2)             
 prop.table(tmp,2)             

Example output

Loading required package: boot
Loading required package: stats4
Loading required package: lme4
Loading required package: Matrix
Loading required package: Hmisc
Loading required package: lattice

Attaching package: 'lattice'

The following object is masked from 'package:boot':

    melanoma

Loading required package: survival

Attaching package: 'survival'

The following object is masked from 'package:boot':

    aml

Loading required package: Formula
Loading required package: ggplot2

Attaching package: 'Hmisc'

The following objects are masked from 'package:base':

    format.pval, round.POSIXt, trunc.POSIXt, units

        trt
drugFree    0    1
       0 0.79 0.70
       1 0.21 0.30

prLogistic documentation built on May 1, 2019, 10:28 p.m.

Related to UIS in prLogistic...