Learn R Programming

gamlss.data (version 4.2-7)

hodges: Hodges data

Description

There two data sets contain data used in Hodges (1998). In addition to the data used in that manuscript, it contains other data items. The original data consists of two matrices of dimensions of 341x6 and a 45x4 respectively. The first matrix hodges describes plans. The information for each plan is: the state, a two-character code that identifies plans within state, the total premium for an individual, the total premium for a family, the total enrollment of federal employees as individuals, and the total enrollment of federal employees as families. The second matrix, hodges, describes states. The information for each state is: its two-letter abbreviation, the state average expenses per admission (from American Medical Association 1991 Annual Survey of Hospitals), population (1990 Census), and the region (from the Marion Merrill Dow Managed Care Digest 1991). The Hodges manuscript used these variables: Plan level: individual premium, individual enrollment. State level: expenses per admission, region.

Usage

data(hodges)

Arguments

docType

data

source

http://www.biostat.umn.edu/~hodges/

References

Hodges, J. S. (1998). Some algebra and geometry for hierarchical models, applied to diadnostics. J. R. Statist. Soc. B., 60 pp 497:536.

Examples

Run this code
data(hodges)
attach(hodges)
plot(prind~state, cex=1, cex.lab=1.5, cex.axis=1, cex.main=1.2)
str(hodges)
data(hodges1)
str(hodges1)

Run the code above in your browser using DataLab