traffic {CMHNPA}R Documentation

Traffic data

Description

Traffic light data for different light sequences, intersections, and times of day.

Usage

data(traffic)

Format

A data frame with 25 rows and four columns.

minutes

the amount of unused red-light time in minutes

treatment

the traffic light sequence

intersection

the intersection the treatment was applied

time_of_day

the time of the day the treatment was applied

Details

A traffic engineer conducted a study to compare the total unused red-light time for five different traffic light signal sequences. The experiment was conducted with a Latin square design in which blocking factors were (1) five intersections and (2) five time of day periods.

Source

Kuehl, R. (2000)

References

Kuehl, R. (2000). Design of Experiments: Statistical Principles of Research Design and Analysis. Belmont, California: Duxbury Press.

Best, D. J. and Rayner, J. C. W. (2011). Nonparametric tests for Latin squares. NIASRA Statistics Working Paper Series, 11-11.

Examples

attach(traffic)
np_anova(ordered_vars = rank(minutes),
predictor_vars = data.frame(treatment,intersection,time_of_day), uvw = 1)

[Package CMHNPA version 1.1.1 Index]