Learn R Programming

BSDA (version 1.2.2)

Chevy: Insurance injury ratings of Chevrolet vehicles for 1990 and 1993 models

Description

Data for Exercise 8.35

Usage

Chevy

Arguments

Format

A data frame/tibble with 67 observations on two variables

year

a factor with levels 1988-90 and 1991-93

frequency

a factor with levels much better than average, above average, average, below average, and much worse than average

References

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

Examples

Run this code

T1 <- xtabs(~year + frequency, data = Chevy)
T1
chisq.test(T1)
rm(T1)

Run the code above in your browser using DataLab