Learn R Programming

bsamGP (version 1.0.1)

traffic: Monthly traffic accidents data

Description

This data set contains 108 observations on 6 variables.

Usage

data(traffic)

Arguments

Format

ln_number

logarithm of the number of monthly automobile accidents in the state of Michigan.

month

months from January 1st, 1979 to Decembe 31st, 1987.

ln_unemp

logarithm of unemployment rate

spring

indicator for spring season.

summer

indicator for summer season.

fall

indicator for fall season.

References

Lenk (1999) Bayesian inference for semiparametric regression using a Fourier representation. Journal of the Royal Statistical Society: Series B, 61(4), 863-879.

Examples

Run this code
# NOT RUN {
	data(traffic)
	pairs(traffic)
# }

Run the code above in your browser using DataLab