Patrol: Years of experience and number of tickets given by...

PatrolR Documentation

Years of experience and number of tickets given by patrolpersons in New York City

Description

Data for Example 9.3

Usage

Patrol

Format

A data frame/tibble with ten observations on three variables

tickets

number of tickets written per week

years

patrolperson's experience (in years)

log_tickets

natural log of tickets

References

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

Examples


model <- lm(tickets ~ years, data = Patrol)
summary(model)
confint(model, level = 0.98)


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