hosp {npmlreg}R Documentation

The Pennsylvanian Hospital Stay Data

Description

The data, 25 observations, are a subset from a larger data set collected on persons discharged from a selected Pennsylvania hospital as part of a retrospective chart review of antibiotic use in hospitals (Towensend et al., 1979, Rosner, 2000).

Usage

data(hosp)

Format

A data frame with 25 observations on the following 9 variables. All variables are given as numerical vectors.

id
patient ID.
duration
the total number of days patients spent in hospital.
age
age of patient in whole years.
sex
gender: 1=M, 2=F.
temp1
first temperature following admission.
wbc1
first WBC count (x10^3) following admission. [WBC= white blood cells].
antib
received antibiotic: 1=yes, 2=no.
bact
received bacterial culture: 1=yes, 2=no.
serv
service: 1 =med., 2=surg.

Warnings

Don't confuse with the Barcelona 'Hospital stay data' aep in package gamlss.

Source

B. Rosner, Harvard University.

References

Rosner, B. (2000). Fundamentals of Biostatistics. Thomson Learning, Duxbury, CA, USA.

Townsend, T.R., Shapiro, M., Rosner, B., & Kass, E. H. (1979). Use of antimicrobial drugs in general hospitals. I. Description of population and definition of methods. Journal of Infectious Diseases 139 , 688-697.

Examples

data(hosp)
glm(duration~age+temp1+wbc1, data=hosp)

[Package npmlreg version 0.43 Index]