CompGroup: CompGroup

Description Usage Arguments Details Value Author(s) Examples

Description

Calculates Crash Modification Factor (CMF) for a before/after traffic study using Comparison Method

Usage

1
CompGroup(compBefore, compAfter, before, after, depVar, alpha = 0.95)

Arguments

compBefore

Comparison data in before period

compAfter

Comparison data in after period

before

Treatment data, before some change was made

after

Treatment data, after some change was made

depVar

The dependent variable (the number of crashes - should always be of class integer or numeric).

alpha

Level of confidence

Details

None at this time

Value

Returns a list object containing the CMF, its variance, standard error, and 1-alpha/2 CI

Author(s)

Jung-han Wang and Robert Norberg

Examples

1
2
3
4
5
6
data(compBefore)
data(compAfter)
data(Before)
data(After)
CompGroup(compBefore = compBefore, compAfter = compAfter, before = Before, after = After,
 depVar = "kabco")

rnorberg/bastudy documentation built on May 27, 2019, 9:57 a.m.