Patrol {BSDA}R 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)


[Package BSDA version 1.2.0 Index]