accidents: Car accidents

Description Usage Format Note Source

Description

ADD CAR ACCIDENTS DESCRIPTION

Usage

1

Format

A data frame with 39 observations (rows) and 14 variables (columns). Each row is a section of a large highway in the state of Minnesota in 1973.

rate

A numeric column with the 1973 accident rate per million vehicle miles.

miles

A numeric column with the length of the highway segment in miles.

traffic

A integer column with the average daily traffic count in thousands (estimated).

truck

A integer column with the truck volume as a percent of the total volume (Percent: 0 - 100).

speed

A integer column with the 1973 speed limit in miles per hour.

lane_w

A integer column with the highway lane width in feet.

shoulder_w

A integer column with the highway shoulder width in feet.

freeway_x

A numeric column with the number of freeway-type interchanges per mile of the segment.

signalized_x

A numeric column with the number of signalized interchanges per mile of the segment.

access_pts

A numeric column with the number of access points per mile of the segment.

lanes

A integer column with the total number of lanes of traffic in both directions.

interstate

A integer column with a boolean flag if the road segment is a federal aid interstate highway; coded 1 for interstate, 0 otherwise.

principal

A integer column with a boolean flag if the road segment is a principal arterial highway; coded 1 for principal, 0 otherwise.

major

A integer column with a boolean flag if the road segment is a major arterial highway; coded 1 for major, 0 otherwise.

Note

Two of the highway segments, numbers 38 and 39, were neither interstate highways, principal arterial, nor major arterial highways, but were classified as major collectors (MC) and are coded by interstate = principal = major = 0 A separate variable was not used for MC because the resulting data matrix would give an exact collinearity and one of the dummy variables would have to be deleted to obtain estimates.

Source

Dataset was taken from an unpublished master's paper in civil engineering by Carl Hoffstedt and reported in Weisberg (1985). This data was pulled from StatLib (http://lib.stat.cmu.edu/datasets/alr) under the name alr206. Column descriptions from Weisberg (1985).

Weisberg, Sanford. (1985). Applied linear regression. New York: Wiley.


jdmR-packages/czerlinski1999 documentation built on Jan. 1, 2021, 4:32 a.m.