Vehicle {BSDA} | R Documentation |
Fatality ratings for foreign and domestic vehicles
Description
Data for Exercise 8.34
Usage
Vehicle
Format
A data frame/tibble with 151 observations on two variables
- make
a factor with levels
domestic
andforeign
- rating
a factor with levels
Much better than average
,Above average
,Average
,Below average
, andMuch worse than average
Source
Insurance Institute for Highway Safety and the Highway Loss Data Institute, 1995.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
Examples
T1 <- xtabs(~make + rating, data = Vehicle)
T1
chisq.test(T1)
[Package BSDA version 1.2.2 Index]