Vehicle: Fatality ratings for foreign and domestic vehicles

VehicleR 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 and foreign

rating

a factor with levels Much better than average, Above average, Average, Below average, and Much 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)


BSDA documentation built on Sept. 19, 2023, 1:08 a.m.