hosp: The Pennsylvanian Hospital Stay Data

Description Usage Format Warnings Source References Examples

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

1

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

1
2
data(hosp)
glm1<- glm(duration~age+temp1+wbc1, data=hosp, family=Gamma(link=log))

npmlreg documentation built on May 2, 2019, 9:31 a.m.

Related to hosp in npmlreg...