Data for Exercise 10.18

Laminect

Format

A data frame/tibble with 138 observations on two variables

area

a character vector indicating the area of the hospital with Rural, Regional, and Metropol

cost

a numeric vector indicating cost of a laminectomy

Source

Consumer's Guide to Hospitalization Charges in North Carolina Hospitals (August 1994), North Carolina Medical Database Commission, Department of Insurance.

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples


boxplot(cost ~ area, data = Laminect, col = topo.colors(3))

anova(lm(cost ~ area, data = Laminect))
#> Analysis of Variance Table
#> 
#> Response: cost
#>           Df    Sum Sq Mean Sq F value Pr(>F)
#> area       2  12838182 6419091  1.6658  0.201
#> Residuals 43 165698288 3853449